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
1 Attachment(s)
Re: [2005] Vista Anyone...
Quote:
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.
1 Attachment(s)
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.
1 Attachment(s)
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.
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.