Results 1 to 6 of 6

Thread: [2005] Vista Anyone...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    [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.
    Attached Images Attached Images  
    My.Settings.Signature = String.Empty

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [2005] Vista Anyone...

    Quote Originally Posted by Aspnot
    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.
    Hi,

    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. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005] Vista Anyone...

    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.
    ? Looks the same for me.
    Attached Images Attached Images  
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    May 2003
    Posts
    758

    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.
    Attached Images Attached Images  
    My.Settings.Signature = String.Empty

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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.
    Attached Images Attached Images  
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width