TabControlPage Turns Locked TextBoxes Transparent |
Post Reply |
Author | |
GarethThom
Groupie Joined: 07 November 2006 Location: United Kingdom Status: Offline Points: 19 |
Post Options
Thanks(0)
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |