I mean ttabpage.enabled:=false;

In fact,  I do not want  the user select a forbiden  ttabpage, But I can do it 
by code for example ttabpage.activepageindex:=n;  ( where n is the forbiden 
page)?
________________________________________
De : Patrick Goupell [patr...@yoopermail.us]
Envoyé : samedi 15 octobre 2016 17:43
À : mseide-msegui-talk@lists.sourceforge.net
Objet : Re: [MSEide-MSEgui-talk] TtabWidget

On 10/15/2016 01:32 PM, mohamed hamza wrote:
> But what happened if ttappage.taborder - 1 is diabled;
>
> ________________________________________

By "diabled" are you referring to the invisible and visible properties?

If you are doing this in code then the program must know if it is valid
to make the page visible.

If it is valid in program code to show the tabpage then set the
ttabpage.visible := true and ttabpage.invisible := false
before setting the ttabwidget.activepageindex := ttabpage.taborder - 1;

Patrick

------------------------------------------------------------------------------
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
mseide-msegui-talk@lists.sourceforge.net
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
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to