PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..ButtonType is used to find out and modify the type of a Button control: Cancelation, Interruption, Validation, ...
Note: This property corresponds to the "Type" option available in the "GUI" tab of the description window of a Button control.
Example
B1 is Control
B1 <- ControlCreate("B1", typButton, 100, 50, 32, 32)
B1..ButtonType = btnInterruption
Syntax

Finding out the type of a button Hide the details

<Result> = <Control name>..ButtonType
<Result>: Integer constant
Type of button:
btnCancelCancel button.
btnHelpHelp button.
btnInterruptionInterruption button.
btnNormalNormal button.
btnValidateValidation button.
<Control name>: Character string (with or without quotes)
Name of Button control to use.

Modifying the type of a button Hide the details

<Control name>..ButtonType = <New type>
<Control name>: Character string (with or without quotes)
Name of Button control to use.
<New type>: Integer constant
Type of button:
btnCancelCancel button.
btnHelpHelp button.
btnInterruptionInterruption button.
btnNormalNormal button.
btnValidateValidation button.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment