how can i hide a control item from screen during uninstallation?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi akhlaque:

Which control do you want to hide during uninstall.
Answered 08/24/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hi Bhupesh,

The control which I am using is Check Box and I want this control to be hidden when I unstall my package.
Answered 08/24/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
2
Hi Akhlaque:

if you want to hide checkbox during uninstallation than create a dummy public property for eg. CHECKREMOVE and give it a vlue False. Put a condition in User Interface if MaintanenceMode~="Remove" or Remove~="All" then Set Property CHECKREMOVE=True
copy the same action in Execute Immediate tab and then go to the control double click on the control and goto conditions tab of the control and choose action hide or disable the control put the condition as CHECKREMOVE=True. Now this will hide/disable the control whenever the uninstallation is executed. Hope this would help.
Answered 08/24/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
2
I don't think you even need to use a PROPERTY for this.
You could probably just set the condition to something like:

Action: Hide
Condition: MaintenanceMode = "Remove"

Then you won't have to add SET PROPERTY Actions.


Peska
Answered 08/24/2005 by: peska
Senior Yellow Belt

Please log in to comment
0
Hi bhupesh,

Thanks for ur kind help.I got it now.
Answered 08/25/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
0
Hi Aklaque:

Thanks a lot for your appreciation however you can even try Peska's suggestion. Will try myself as well.
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Thanks Peska.

This is a much better of doing it as I dont even need to create a property.
Ofcourse the condition maintance=remove can only b used for hiding the control.
Answered 08/25/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity