Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - TabControlPage Turns Locked TextBoxes Transparent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TabControlPage Turns Locked TextBoxes Transparent

 Post Reply Post Reply
Author
Message
GarethThom View Drop Down
Groupie
Groupie
Avatar

Joined: 07 November 2006
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote GarethThom Quote  Post ReplyReply Direct Link To This Post Topic: TabControlPage Turns Locked TextBoxes Transparent
    Posted: 31 January 2007 at 10:40am

We have started to use the new TabControlPage combined with your TabControl to provide a XP themed Tab control and it seems to work fairly well.

When we set TextBox.Locked = True we also set the BackColor = vbButtonFace so that the user can clearly see that it is locked, however, the TabControlPage seems to set the TextBox background to transparent.

It only seems to be when the BackColour translates to RGB(226, 226, 266) that it goes transparent, i.e. the same value that vbButtonFace translates into.

We are currently setting BackColor to 1 less than the RGB colour returned from OleTranslateColor, however, we would really appreciate a fix for this.  If it is a desired effect for some users then maybe a new property on the TabControlPage would solve the problem.

Thanks

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.