@wonka1234 ,
On the OnCheck property of the Toggle control, enter:
Set(
varGallery2Visible,
true
)
On the OnUnCheck property of the Toggle control, enter:
Set(
varGallery2Visible,
false
)
On the OnVisible property of the Screen, enter only:
If(
Toggle1.Value,
Set(
varGallery2Visible,
true
),
Set(
varGallery2Visible,
false
)
)
On the Visible property of the Gallery, enter only:
varGallery2Visible
------------------------------------------------------------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.
If you like my response, please give it a Thumbs Up.
Imran-Ami Khan