" 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).
(RDMLX) Online Navigation
-
Paul
Re: (RDMLX) Online Navigation
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.
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.