CurrencyChange
CurrencyChange() Event
Called when user has changed selected currency on form
Applies to: Form
Introduced in KCML version 6.00
This event will be triggered in a form if the user clicks the Alternative Currency button on the forms title bar or presses CTRL-E in a KCML edit control. The Client will display this button if a $CONVERT exchange rate was set in the program and the form contains currency fields (that is KCML edit controls with a numeric Type$ and with the CanConvert property set to TRUE.) The button appear on the right of the titlebar and displays the three letter currency code for the currency in effect on the form. These codes and the exchange rate were defined by the value of the $CONVERT string. Clicking the button toggles between the two currencies.
Whether or not this event is handled, the client will redisplay all the currency fields in the appropriate currency for the button state. Handling the event allows the programmer even more control over the appearance of the form allowing currency dependent static text to be changed perhaps.
See Alternative Currency Support in KCML for more information.