DelphiDelphiVCLPythonPython GUIWindows

What is ActionUpdateDelay Property in DelphiVCL.Application?

featuredimage2-4

ActionUpdateDelay property or DelphiVCL.Application.ActionUpdateDelay used to delay the call to DoActionIdle. This applies to native Windows development. The following example demonstrates the usefulness of this property:

  1. Create an MDI project with the main form, an MDI Child, and a TAction class.
  2. Link the TAction OnUpdate event to a method.
  3. Run the program and maximize the MDI child.

If you open Windows Task Manager, you can see that CPU usage for the MDI application is nearly 100%. However, if you set Application.ActionUpdateDelay to a non-zero value, the CPU usage for the application is significantly lower than 100%.

Let’s browse all the properties and methods of the DelphiVCL.Application.ActionUpdateDelay using dir() command:

See the responses in our Windows command prompt:

0dir-7632872

You can also read short information about the DelphiVCL.Application.ActionUpdateDelay using the print() command:

See the responses in our Windows command prompt:

0print-6775152

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Related posts
DelphiFMXDelphiVCLNewsPythonPython GUI

Introducing Python 3.11 And Documentation Support To The DelphiFMX And DelphiVCL GUI Python Packages

AndroidCodeDelphiDelphiFMXLearn PythonPythonPython GUI

How To Create A Tic-Tac-Toe Game Using Delphi Python EcoSystem

CodeDelphiDelphiFMXPythonPython GUI

How To Write A Simple Todo Gui Application Using Delphifmx

DelphiDelphiFMXProjectsPythonPython GUI

How To Create A Currency Converter Application Using Delphi Python EcoSystem

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

jaJapanese