Hi all,
If lets say I have a field with string length 20. How can it be automatically display as whole ?
because I have many cases whereby I have to one by one change the text box size in a form since it only show not whole.
Thanks
Hi all,
If lets say I have a field with string length 20. How can it be automatically display as whole ?
because I have many cases whereby I have to one by one change the text box size in a form since it only show not whole.
Thanks
Hi WWwong,
Yes, you need to change it one by one.
But ,You can change it dynamically through the code.
Such as:
public void activate(boolean _active) { super(_active); String111 s111 = YourControlName.valueStr(); int _len = strLen(s111); _len = _len*10; YourControlName.displayLength(_len,AutoMode::Fixed); YourControlName.width(_len); }
Hi Blue,
Is there no other way, I mean it still need me to manually change the property one by one for fields with case like that.
Thanks.
There is another property called Width mode, but the default is already Size to Content, it is meant the width should be based on the content of the field, right ?
because currently, I have to scroll to the right, inside of the text box / string control in order to see the full content.
Thanks
Hi,
I did put the property of all the FormStringControl - Display length mode to Auto. It is their default, right ?
Or there is another "display" that I don't know ?
Thanks,
Hi WWwong,
Set "Display Length" propertity , You can set it very large, such as 1000.
on the form control, set property for display as auto or assign it the max value of the field
André Arnaud de Cal...
292,865
Super User 2025 Season 1
Martin Dráb
231,723
Most Valuable Professional
nmaenpaa
101,156
Moderator