PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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
The Property Calculator Button allows you to know and indicate whether a numeric or monetary edit control offers a button to display a calculator in popup mode..
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 the Property CalculatorButton is used to display a Calculator button in the numeric or monetary edit control, then the "Calculator" option is no longer available in the popup menu of the control.
Remark: To disable the display of the calculator for a project or for a control (via the button or the popup menu), use AAFDisable.
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