DelphiDelphiVCLPythonPython GUIWindows

How to use the Caption Property

We use Caption to specify a text string that identifies the control to the user. To underline a character in a Caption that labels a component, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the component by pressing ALT while typing the underlined character. To display an ampersand character in the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnClose Event in DelphiVCL Library

OnClose event occurs when the form closes. We use OnClose to perform special processing when the form closes. The OnClose event specifies which event handler to call when a form is about to close. The handler specified by OnClose might, for example, test to make sure all fields in a data-entry form have valid contents before allowing the form to close. A form is closed by the Close…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnChange Event in DelphiVCL Library

OnChange event occurs when the user changes the text displayed in the edit region. We write an OnChange event handler to take specific action immediately after the user edits the text in the edit region or selects an item from the list. The Text property gives the new value in the edit region. Note: OnChange only occurs in response to user actions. Changing the Text property…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Understanding DelphiVCL.Application.BiDiKeyboard

BiDiKeyboard property or DelphiVCL.Application.BiDiKeyboard is used to specify the name of the keyboard map that should be used in middle-east locales when text reads from right to left. This name is a string composed of the hexadecimal value of the language identifier (low word) and a device identifier (high word). For example, Saudi Arabian Arabic has a language identifier of 0x0401, so…
Read more