PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV 26 feature!
  • Overview
  • How to?
  • Implementation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Setting the initial focus to a control (AAF)
Overview
The context menu of Edit controls includes the option "Set initial focus to this control". This option allows you to decide which control will have initial focus when the window is opened.
How to?

Implementation

The option "Set initial focus to this control" is available by default in Edit controls.
The display of this option can be configured (like all the options proposed by the AAFs). For more details, see Configuring the AAF menus.
By programming:
  • the AAFDisable function with the aaf1stFocusControl constant is used to remove this option from the context menu.
  • the AAFChangeCaption function is used to change the text of the context menu option.
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment