From: Ilya B. <Ily...@so...> - 2008-09-05 06:18:01
|
Yeah, but this method is OK only if users use XP’s standard color schemes and themes. In other case tabstrips could be not “white”. At the moment I have two ideas but can realize none of them. :) 1. According to the same problem in other programming environments, there should be some constants which allow us to determine if XP UI is enabled or not. Can’t find such a constant for Perl win32::GUl. 2. The ideal solution is to have controls with transparent background. Maybe there is any -exstyle or something for that? Can’t find it yet also. :( From: per...@li... [mailto:per...@li...] On Behalf Of Dav...@la... Sent: Thursday, September 04, 2008 10:40 PM To: Jeremy White Cc: per...@li... Subject: Re: [perl-win32-gui-users] (no subject) Thanks Jeremy, Unfortunately I did not want yet ANOTHER widget piled up on top of the TabStrip :) so I ended up using -foreground => [252, 252, 252] for each offending control. I also had to revert from using the -prompt option of TextFields to using a TextField with a label instead. the [252, 252, 252] color rendered close enough to the background color of the tabstrip such that it is almost impossible to perceive any difference between the two. I'll stick with this for now, might change it later using your method if it proves more feasible. David J. Keith Application Developer Latham International ● 787 Watervliet-Shaker Rd. ● Latham, NY 12110 Office: 518.951.1063 |