ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Operating mode of the calculator
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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: You can disable the calculator display for a project or field (via the button or context menu) by pressing AAFDisable.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help