opage subform with a bound variable •Widget Form o form used as the content of a widget •Parent Form oform that host a widget form •Container osubform object used as a widget
v13 •FORM Get current page * oadds widgets support •FORM GOTO PAGE * oadds widgets support actually, works in v12, just undocumented... •OBJECT GET/SET SUBFORM •OBJECT GET SUBFORM CONTAINER SIZE
•Form local variables oAlso useful for private local storage •Naming convention oObjects, pointer to objects oWrapper method pre fi xes •Macros v2 oTemplates oDocumentation
•Do I need to support page 2? oif not, coding is easier... •Could the layout be static? oif yes, coding is easier... •Do I need to stay on v12? oon v13, coding is easier...
support •Different event sequence oNo On Load in parent oMultiple On Load’s in widget •Solution oVirtual form event (-On Load) oOn Timer oOn Page Change (v13)
support •Container size oVirtual form event (-On Load) with EXECUTE METHOD IN SUBFORM ov13 OBJECT GET SUBFORM CONTAINER SIZE •Timing oWidgets on page 2 initially don’t exist •Resize? o forget it... (especially on page 2)