Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
UltraCalculator ParseString Issue
posted

Hello, 

I have an issue with using the ParseString Sub.  I am setting the ParseString property to say "225" before opening the UltraCalculator. After I open the Calculator the text displayed is 225 as expected. But if the use clicks another number, it appends itself to 225.  (if 4 is clicked, the new display is 2254). I need a way to clear the display and start new if the user clicks some number.

 -Saravanan.

Parents
No Data
Reply
  • 37774
    posted

     Saravanan,

    You could try using the BeforeButtonClicked event and clear the display as necessary.  You would likely need to keep a flag saying whether you should clear the display (i.e. set this flag at the same time you set the value to 225 ), and reset this flag after you clear the display.

    -Matt

Children
No Data