But what happened if ttappage.taborder - 1 is diabled;

________________________________________
De : Patrick Goupell [[email protected]]
Envoyé : samedi 15 octobre 2016 17:24
À : [email protected]
Objet : Re: [MSEide-MSEgui-talk] TtabWidget

On 10/15/2016 01:03 PM, mohamed hamza wrote:
> Hi Martin,
>
>      I know that we can disable forbiden ttabpage to be selected . But 
> sometimes we want to change the active page by code,for example, by setting 
> activePageIndex?
> Is it possible?
>

I have done the following to select a new active page:

ttabwidget.activepageindex := ttappage.taborder - 1;

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to