PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ButtonType property is used to get and change the type of a Button control: Cancelation, Interruption, Validation, ...
Remark: This property corresponds to the "Type" option available in the "UI" 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

Getting the type of a button Hide the details

<Result> = <Button control>.ButtonType
<Result>: Integer constant
Type of button:
btnCancelCancel button.
btnHelpHelp button.
btnInterruptionInterruption button.
btnNormalNormal button.
btnValidateValidation button.
<Button control>: Control name
Name of Button control to use.

Changing the type of a button Hide the details

<Button control>.ButtonType = <New type>
<Button control>: Control name
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