TTabSheet component problems
Original Reporter info from Mantis: glober
-
Reporter name: George Lober
Original Reporter info from Mantis: glober
- Reporter name: George Lober
Description:
When making "TTabSheet.TabVisible:=false" the whole tabsheet page is disabled not just the tab. During Design, you cannot select it from Object Inspector > TPageControl > ActivePage, or RightClicking TabSheet on Form > ShowPage..., At Runtime it is also disabled, "TabSheet1.show" does not work.
During Design: If you want to turn of all tabs (you just want to use the pages), by making "TTabSheet.TabVisible:=false", if you don't turn them off in the reverse order of creating them, all of the turned off tabs do not disappear. Even if you turn them off in the reverse order of creating them, if you shut down Lazarus and start up and auto load your project, some tabs will be showing as if you turned them off in the wrong order.
During Runtime: Wheather you turned off the tabs in the proper order or not, turned off tabs show.
Additional information:
When I was trying to figure out the behavior of the bug, using a simple form with one PageControl component with three TabSheets and Button on each TabSheet, turning the TabVisible property on and off in some sequence caused a Access Violation Error which I was not able to reproduce.
.
.
Also on a more complicated Application which I ported over from Delphi7, where the main form has 16 tabsheets, if I turn of the tabs in any other order except reverse of creating them, and I exit Lazarus and start back up with auto load of the application, The whole IDE will hang before it finishes drawing the IDE menu icons and the application components. Only the IDE outline and form outlines finish drawing. The only way to clean up is to kill the IDE at that point and edit the associated .lfm file entries back to TabVisible=true or remove the TabVisible=false entries.
Mantis conversion info:
- Mantis ID: 885
- OS: Gentoo Linux
- Build: 26-04-2005
- Platform: Linux
- Version: 0.9.7 (CVS)
- Fixed in version: 0.9.29 (SVN)
- Monitored by: » glober (George Lober)
- Target version: 0.9.30