#1 2016-05-30 14:45:30

EGovMetrics
Member
Registered: 2016-05-21
Posts: 39

Buttons hidden

Hi,
I have two buttons hidden.

Only when the admin inserts the write login code
the two buttons will be visible.

If "[InputLogin]" "==" "passwordcode"

  UpdateButton.Hidden = "False"

  DeleteButton.Hidden = "False"

Else

  AlertBox "Wrong Password" "info"

EndIf

But the two buttons, once inserted the write login code,
are not visible.

Any comments ?

Thanks
Joseph Caristena

Offline

#2 2016-05-30 14:55:20

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,660
Website

Re: Buttons hidden

Hello Joseph,

Please read about the ".Hidden" variable in the "Common control variables" topic in the help.

This variable can contain a non empty string value in order to indicate that the control must be hidden. An empty string value for this variable mean the control must be visible.

We can use something like the below one to hide a button:

SetVar "[MyButton.Hidden]" "" "String"

And something like that to show it:

SetVar "[MyButton.Hidden]" "true" "String"

Another possible way is to use the Hide, Show or Toggle actions.

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.