|
|
#1 |
|
Fanatic Member
Join Date: May 03
Posts: 746
![]() |
[2005] Vista Anyone...
I have been searching and haven't seen anyone else complaining about this, so I will throw it out here to see what others have experienced.
I am running Vista Business on this computer with Aero enabled. Inside of the VS IDE, I have a form with two TextBox controls on it. One is ReadOnly the other is not. However, when I sit here looking at the form in the designer, I can barely tell the difference between the two controls. In XP there was a noticable change in the background color to denote that the control is ReadOnly. I have played around with a bunch of settings on the PC to see if I can get the colors set to where I can see the difference and I haven't found an acceptable alternative. This isn't the only issue I have had with Vista and VS. In XP, there was a line drawn all the way around the control on the screen. This made it easy to set positioning, etc. In Vista, the border at the bottom of the control is almost not visible. Anyone else run into this. Hvae you been able to overcome this? I am about to format this drive and install XP on it. I will attach the Vista screenshot, but note that the screenshot actually added more color to the image than what it shows on the screen.
__________________
My.Settings.Signature = String.Empty |
|
|
|
|
|
#2 | |
|
PowerPoster
Join Date: May 05
Location: Globetrotter
Posts: 2,677
![]() ![]() ![]() |
Re: [2005] Vista Anyone...
Quote:
I haven't Vista on my Pc but I have VB.net 2005. After a little test I found that If the colors of your TextBoxes are White then you can't see the difference between them, if you select one to readonly. So, set the color of your TextBox(readonly) to System control. About the margin of your Button you can change the margin in the property of your textbox to for example 5 and see what happens. Wkr, sparrow1
__________________
Wkr, sparrow1 If I helped you, don't forget to Rate my post. Thank you ![]() I'm using Visual Studio.Net 2003 and 2005 How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials Video's for beginners |
|
|
|
|
|
|
#3 | |
|
Super Moderator
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,875
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: [2005] Vista Anyone...
Quote:
__________________
VB/Office Guru™ (AKA: Gangsta Yoda™ I dont answer coding questions via PM. Please post a thread in the appropriate forum. ![]() ![]() Microsoft MVP 2006, 2007, 2008, 2009, 2010 Office Development FAQ (VBA, VB 6, VB.NET, C#) Software Engineer MCP (VB 6 & .NET), BSEE, CET If a post has helped you then Please Rate it! • Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility • System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007 |
|
|
|
|
|
|
#4 |
|
Fanatic Member
Join Date: May 03
Posts: 746
![]() |
Re: [2005] Vista Anyone...
Look at the difference between the textbox in the first screenshot and this one from XP.
I don't use the gridlines which might be making it look more like there is a border. The border at the top of a TextBox in Vista is far darker than the border at the bottom. The bottom border is almost not visible.
__________________
My.Settings.Signature = String.Empty |
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Apr 01
Location: LA, Calif. Raiders #1 AKA:Gangsta Yoda™
Posts: 58,875
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: [2005] Vista Anyone...
Oh ok so this is at runtime and not designtime. Just got thrown off by the resizing and positioning stuff.
Yes, those are the default look of read only textboxes in Vista. Set the BorderStyle of the textbox to "FixedSingle". Then it will give a border.
__________________
VB/Office Guru™ (AKA: Gangsta Yoda™ I dont answer coding questions via PM. Please post a thread in the appropriate forum. ![]() ![]() Microsoft MVP 2006, 2007, 2008, 2009, 2010 Office Development FAQ (VBA, VB 6, VB.NET, C#) Software Engineer MCP (VB 6 & .NET), BSEE, CET If a post has helped you then Please Rate it! • Star Wars Gangsta Rap • Reps & Rating Posts • VS.NET on Vista (New) • Multiple .NET Framework Versions (New) • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility • System: Intel Core 2 Extreme Ed., 2 WD Raptor 10K RPM 150 GB HDs RAID 1, 2 GBs DDR2 667 MHz RAM, 3 Viewsonic 17" LCDs, Windows Vista RTM, IE 7, Office 2007 |
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Jan 05
Location: Sunny Adelaide
Posts: 12,738
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: [2005] Vista Anyone...
I am strongly of the belief that you should not impose your own custom colours unless you're going to invent your own UI. Otherwise, small inconsistencies with the rest of the OS simply become awkwardness for the user.
|
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|