How to change the Calculator Layout using CalcPopup Property in Windows Forms CurrencyEdit
3 Sep 2020 / 1 minute to read
Sometimes we may be in need of a calculator with Windows standard layout. By changing the CalcPopup property, we can do the same. Include this code fragment in the FormLoad event.
// Changes the layout of the calculator. PopupCalculator pc=new PopupCalculator(); pc.LayoutType=CalculatorLayoutTypes.WindowsStandard; pc.ParentControl=currencyEdit1; currencyEdit1.CalcPopup=pc;
' Changes the layout of the calculator. Dim pc As PopupCalculator = New PopupCalculator() pc.LayoutType=CalculatorLayoutTypes.WindowsStandard pc.ParentControl=currencyEdit1 currencyEdit1.CalcPopup=pc
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page