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