Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Month: October 2021

How do I check if a matching text is found in the string in Lua?

If at least one specific matching text is found in the text string, I need to make the condition true, for example:

str = “This is some text containing the word tiger.”
if string.match(str, “

October 5, 2021By Simo Lua Find, How to check, in, in the string, lua, match, Text, whetherLeave a Comment

Delphi judges whether a class implements an interface

TObject.GetInterface can obtain an instance of an object to implement an interface. The prerequisite is that the object must be instantiated before running GetInterface

The following method c

October 5, 2021By Simo Delphi a class, Delphi, Interface, judgment, one, whether it is realizedLeave a Comment

Delphi, override custom control setcaption

I have a custom control,
the ancestor is another custom control,
whose ancestor is TPanel;
that is

TNotMyCustomControl = class(Tpanel);
TMyCustomControl = class(TNotMyCustomControl); Wheth

October 5, 2021By Simo Delphi control, coverage, customization, Delphi, setcaptionLeave a Comment

Can you overload the operator for a string?

Can I add my own operators and meta methods to strings in Lua?

I want to do something like this:

local str = “test”
print(str[2 ]) –> “e”
print(str()) –> “TEST”
print(-str) –> “tset”

October 5, 2021By Simo Lua operator, overload, string, thread, Whether it isLeave a Comment

Delphi – How to make the component disappear in the form designer?

I am creating a custom control that contains other controls, including two scroll bars, one horizontal and one vertical. There is a property to set one or two scroll bars invisible, it It works fin

October 5, 2021By Simo Delphi Component, Delphi, design, device, disappearance, form, How, MediumLeave a Comment

How to call a function in C DLL from Lua?

I have a DLL written in C. It is legacy code and the source code cannot be modified. I want to be able to call some functions inside the DLL from Lua.

— My Lua File
include(myCppDll.dll)
fun

October 5, 2021By Simo Lua call, DLL, function, How, lua, middleLeave a Comment

Delphi – Why should I use Tcollections.createlist instead of tList.create?

I added map(), reduce() and where(qlint: string) to my Spring4D branch.
When I wrote these functions, I found the behavior of the list There are differences when they are created in different ways

October 5, 2021By Simo Delphi create, CREATELIST, Delphi, should be used, TCOLLECTIONS, TCOLLECTIONS.CREATELIST, TLIST, TLIST.CREATE, whyLeave a Comment

Outpatient name system series -1. Voice called .NET C #

Recently received a request. A friend’s office needs to make an outpatient call number. The process is as follows: the patient selects a doctor-swipes the ID card to queue-the doctor clicks on the

October 5, 2021By Simo C# C #, calling, Outpatient, series, system, VoiceLeave a Comment

Array – Create an instance from a class array

My class definition is:

TAnimal = class(TInterfacedObject)
public
constructor Create; overload;
constructor Create(param: string); overload;
end;
IAnimal = interface
procedure DoSomething;

October 5, 2021By Simo Delphi array, class, creation, instanceLeave a Comment

Delphi High DPI switches between its zoom and Windows scales

Some of my customers want to be able to manually extend my application (when the Windows dpi is set to 96), so I have to implement the extension. Unfortunately, these customers cannot set the Windo

October 5, 2021By Simo Delphi Delphi, DPI, high, Self, windows, ZoomLeave a Comment

Posts navigation

Page 1 … Page 295 Page 296 Page 297 … Page 369
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress