|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
Hi, is it possible to add form boxes at runtime? Is there any scripting for that?
thank you Jean Pierre |
|||
|
I'm not sure I understand your question.
The only way to add boxes to a form is using the Form Designer. However, you can change the contents of boxes on-the-fly using an onRecordOpen() script. Just add the empty or placeholder box in the Form Designer, then populate it as desired using the script. |
||||
|
what actually would be nice is a way to control their visibility, if a box is empty when a record loads (on a display form) the box will never be shown.
quote: Luke Stephenson Phipps & Associates |
||||
|
Hey Luke,
You can do this by setting the box minimum size to zero. If no field value, no box displays. Peter Peter Tyrrell Senior Consultant Andornot Consulting Inc. http://www.andornot.com |
||||
|
Hi,
I have a related question. onRecordOpen is called after boxes are populated with their information, therefore a box set to have minmum height 0 will not appear, even if a script tries to populate it with information. the only way to get the script to populate the box is to set the box minimum height to at least 1, and then it appears even if it is empty. onFormOpen is called before the boxes are created, so it is no good either. is there any event that is called in between these two that could solve this problem? Noam |
||||
|
No. I've entered this wishlist item for you.
|
||||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

