Expand my Community achievements bar.

SOLVED

Hidden Subform

Avatar

Level 2

How do I keep a row hidden until a button is clicked?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

When in LC Designer set the presence of the row (named 'Row1') to hidden in the Object > Field palette.

Then in the click event of the button:

Row1.presence = "visible";

If the button and row are separated, in different subforms, then you will need a fuller reference in the script.

Check out the help file for the other settings you can use for the .presence property.

Good luck,

Niall

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

When in LC Designer set the presence of the row (named 'Row1') to hidden in the Object > Field palette.

Then in the click event of the button:

Row1.presence = "visible";

If the button and row are separated, in different subforms, then you will need a fuller reference in the script.

Check out the help file for the other settings you can use for the .presence property.

Good luck,

Niall