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
on the form control, set property for display as auto or assign it the max value of the field
Hi WWwong,
Set "Display Length" propertity , You can set it very large, such as 1000.
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,
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.
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.
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); }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,157
André Arnaud de Cal... 883 Super User 2025 Season 2
Sohaib Cheema 674 User Group Leader