(RDMLX) Online Navigation

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
soapagent
Posts: 93
Joined: Mon Jul 16, 2012 6:19 pm

Re: (RDMLX) Online Navigation

Post by soapagent »

" You can hide a subform by setting its height to 0."

What this the correct way to hide a subform?

I've tried this

this.q_setProperty({'Form.Fields.Entries10.Height': 0});

and

this.q_setProperty("Form.Fields.Entries10.Height",0);

Neither worked for me (although no error was thrown).
Paul

Re: (RDMLX) Online Navigation

Post by Paul »

For RV16 (coming soon) there will be a new common property called 'Visible' which will be used to make any element disappear/appear.

Currently, for RV15, if the subform (type:Form) is imbedded in a parent form you should be able to set its layout.width and/or layout.height to zero – causing it to effectively disappear.

In your case try - this.q_setProperty("Form.Fields.Entries10.layout.Height",0);

If the subform is a table row or a column of a table row this does not work. You would need to set the subform's Fields property to null.
Post Reply