PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Operating mode of the calculator
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
..CalculatorButton is used to find out and specify whether a Numeric or Currency edit control proposes a button to display a popup calculator.
Calculator button
Example
// Click on BTN_ENABLE_CALCULATOR
EDT_Price..CalculatorButton = True
EDT_Discount..CalculatorButton = True
Syntax

Finding out 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 run time, the numeric and currency edit controls propose the "Calculator" option in their popup menu. This option is used to display a calculator to perform a calculation.
If ..CalculatorButton is used to display a Calculator button in the numeric or currency edit control, the "Calculator" option is no longer available in the popup menu of the control.
Note: To disable the display of the calculator for a project or for a control (via the button or the popup menu), use DisableAAF. Note: To disable the display of the calculator for a project or for a control (via the button or the popup menu), use AAFDisable (or DisableAAF).
Minimum version required
  • Version 17
This page is also available for…
Comments
Video Calendario e Calculadora
https://youtu.be/UpYnC0wMCzc

https://windevdesenvolvimento.blogspot.com/2019/02/dicas-2008-windev-comandos-41.html
amarildo
05 Feb. 2019
Video CalculatorButton
https://youtu.be/MzULDQviNYM

https://windevdesenvolvimento.blogspot.com/2019/02/dicas-2007-windev-comandos-40.html
amarildo
04 Feb. 2019