ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Operating mode of the calculator
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 CalculatorButton property is used to determine and indicate whether a Numeric or Currency Edit control has a button to display a popup calculator.
Calculator button
Example
// Click on BTN_ENABLE_CALCULATOR
EDT_Price.CalculatorButton = True
EDT_Discount.CalculatorButton = True
Syntax

Determining whether a Calculator button is displayed Hide the details

<Result> = <Edit control>.CalculatorButton
<Result>: Boolean
  • True if the Calculator button is displayed.
  • False otherwise.
<Edit control>: Control name
Name of the numeric or currency Edit control to use.

Displaying a Calculator button Hide the details

<Edit control>.CalculatorButton = <Display>
<Edit control>: Control name
Name of the numeric or currency Edit control to use.
<Display>: Boolean
  • True if the Calculator button must be displayed.
  • False otherwise.
Remarks

Operating mode of the calculator

At runtime, numeric and currency Edit controls include the "Calculator" option in their context menu. This option displays a calculator to perform a calculation.
If the CalculatorButton property is used to display a Calculator button in the numeric or currency Edit control, the "Calculator" option does not appear in the context menu of the control.
Remark: To disable the calculator (button or option in the the context menu) in a project or control, use AAFDisable.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/24/2022

Send a report | Local help