View Full Version : Hide/disable controls
NewsArchive
05-22-2010, 07:30 AM
Is there a way to get/know the control ID of controls on the standard
dialogs so they can be hidden/disabled?
For example if I pass my installer the program folder on the command
line I would like to disable the select folder control and button. I
still want to show the dialog just not allow any changes to the install
folder.
Thanks
Eddie Sizemore
NewsArchive
05-22-2010, 07:31 AM
Eddie,
> Is there a way to get/know the control ID of controls on the standard
> dialogs so they can be hidden/disabled?
>
> For example if I pass my installer the program folder on the command
> line I would like to disable the select folder control and button. I
> still want to show the dialog just not allow any changes to the install
> folder.
You should use the Custom Wizard Dialog model to handle this. It gives you
so much power and flexibility.
Doing this in a standard dialog is *not* recommended, but the attached
project demo should work.
Friedrich
NewsArchive
05-22-2010, 07:32 AM
Ho Friedrich,
and how can I change / hide / disable /remove the
"previous/next/cancel"-panel in the lower section of a custom dialog?
This would give me the possibillity to use SetupBuilder as ToolBuilder.
Markus
NewsArchive
05-22-2010, 07:34 AM
Hi Markus,
> and how can I change / hide / disable /remove the
> "previous/next/cancel"-panel in the lower section of a custom dialog?
>
> This would give me the possibillity to use SetupBuilder as ToolBuilder.
Good question. Try something similar this (see attached screenshot and .sb7
project).
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.