I have a calculator control on a form, and I want to start it off with a known value. So I set the Text property to the value I want to edit. As soon as the user pressed "+", though, the value reverts to 0. Values AFTER this point survive mathematical operations just fine, but I really need to give the user a starting point. Is there anything I can do?
I think you have to simulate user action rather than setting the Text. Try the PushButton method. For example, to initialize the value to 100, you could do this:
this.ultraCalculator1.PushButton("1"); this.ultraCalculator1.PushButton("0"); this.ultraCalculator1.PushButton("0");
I found that calling the ParseString method results in pretty much the same thing. It makes the calculator work by pretending that someone just typed each digit in manually. Still though, this is pretty lame. I'd definitely call it a bug, and put it in the queue.