We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

CurrencyTextBox crashes application

I have some currency text boxes in my form. Depending on the selection of a combo box (country selection) I'm assigning the corresponsing currency symbol to the currency text box.

this.myCurrencyTextBox.CurrencySymbol = "$";

Whenever I do that it crashes the application. In debug mode there is no output in visual studio. It just crashes and I have to stop debugging.

Any idea what that could be? Is it a problem for the control that I only change the symbol? Is it necessary to change the other values as well (culture, etc.)?

BR
Christoph


1 Reply

CG Christoph Gasser November 15, 2007 06:47 PM UTC

SOLVED: I did the databinding on the Text item istead of the BindableValue item.

So if you're using CurrencyTextBoxes in combination with databinding, take care that you're binding on "BindableValue".


Loader.
Live Chat Icon For mobile
Up arrow icon