Page 2 of 2

Re: (RDMLX) Online Navigation

Posted: Mon Mar 31, 2014 6:28 pm
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).

Re: (RDMLX) Online Navigation

Posted: Tue Apr 01, 2014 2:24 pm
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.