[TextField] put a constant in the format field in the IDE ?

Hi Group,

I just tried to insert a constant and a # just before it in the format field of a textfield.
it does not replace the constant in the format property (not in the ide and not at runtime)

is it a bug, or a future release, or not possible ?


You mean in the Inspector field ? It maybe an issue since # is also used as placeholder.

could be handy to have a constant to store all the format of the fields in one app …

Well, it does not seem terribly difficult to do in code.

It could indeed be convenient, even for instance to have different numbers and date presentation depending on locale.

You could create a subclass and set the format in the open event.