Hey Guys,
how can I disable a tab in your pagecontrol tab? I tried different ways, but not successful.
Thanks in advance
Heiko
MIK
Disable Tabs in PageControl
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Disable Tabs in PageControl
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Disable Tabs in PageControl
Dear Heiko,
I'm very sorry but I really don't understand what is the tab that you want to disable in InstallAware IDE.
Regards
I'm very sorry but I really don't understand what is the tab that you want to disable in InstallAware IDE.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: Disable Tabs in PageControl
I have 4 components and on one dialog a pagecontrol with a tab for each component with a few options for shortcuts
When a user selects only 2 components, I want to change 2 tabs to enable =false (grey, not clickable)
When a user selects only 2 components, I want to change 2 tabs to enable =false (grey, not clickable)
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Disable Tabs in PageControl
Dear Heiko,
unfortunately it is not possible to disable the page tab selection.
Alternatively you could force via "Dialog Behavior rules" the Enable property setting for a specific page using a variable .
Hope this helps you.
Regards
unfortunately it is not possible to disable the page tab selection.
Alternatively you could force via "Dialog Behavior rules" the Enable property setting for a specific page using a variable .
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: Disable Tabs in PageControl
i tried
IF (c_tools.State = cbUnchecked) THEN tabOlap.Enabled := False;
c_tools is my checkbox (Checked if component was selected, UnChecked if not)
This does not work, tab is still enabled=true
IF (c_tools.State = cbUnchecked) THEN tabOlap.Enabled := False;
c_tools is my checkbox (Checked if component was selected, UnChecked if not)
This does not work, tab is still enabled=true
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Disable Tabs in PageControl
Dear Heiko,
you should try setting to FALSE the Enable property for that specific page under the PageControl.
Doing this all controls on the page will be disabled.
Regards.
you should try setting to FALSE the Enable property for that specific page under the PageControl.
Doing this all controls on the page will be disabled.
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: Disable Tabs in PageControl
tabOlap is the name of my page and I tried to set this to enable=false but it doesnt work
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Disable Tabs in PageControl
Dear Heiko,
Please use the attached project that demostrates how handle the Page Enable property and how to enable / disable controls as well.
Hope this helps you.
Regards.
Please use the attached project that demostrates how handle the Page Enable property and how to enable / disable controls as well.
Hope this helps you.
Regards.
- Attachments
-
- PageControl.rar
- (1.54 MiB) Downloaded 394 times
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
mikKummerfeld
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: Disable Tabs in PageControl
Thank you.
Yeah I tried to set every control within the page to enable=false (WORKS),
but I cant set one rule for all controls (making them GREY LOOKING)
Yeah I tried to set every control within the page to enable=false (WORKS),
but I cant set one rule for all controls (making them GREY LOOKING)
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Disable Tabs in PageControl
Dear Heiko,
Regards.
It works in that way because the property disables the page fuctionality and not the controls.but I cant set one rule for all controls (making them GREY LOOKING)
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

