Dear All,
I am currently designing an App where one can select different locations. Depending on the location I would like to change in all numeric edit fields € to $. I know that I should use the command strrep(), however, I have several numeric edit fields, let's say I have (in reality I have many many more):
app.power.ValueDisplayFormat = '%.2f L';app.valueperkW.ValueDisplayFormat = '%.2f €/L';app.totalvalue:ValueDisplayFormat = '%.2f €';
Now, I would like to change all apps that contain .ValueDisplayFormat and have the € value in them.
% Value changed function: Standort
function StandortValueChanged(app, event) switch app.standort.value case 'Germany' strrep() case 'USA' strrep() end end
A hint would be very much appreciated 🙂
Cheers
Best Answer