> Is this code correct and if so, where do I put it in the form
FOR mask_label in c1 LOOP
set_item_property ('LABEL.LABEL' || mask_label.LABEL_NO, VISUAL_ATTRIBUTE, mask_label.VA_DETAIL);
You can use the PRE-FORM trigger.
1 person found this helpful
Just a small comment on your suggestion. The PRE-FORM trigger is not intended for making any calls that impact the UI (object location, size, color, etc). The PRE-FORM trigger should only be used for things like variable initialization or other non-UI functions. For UI changes, use WHEN-NEW-FORM-INSTANCE