[.net] PropertyGrid : different behavior between Windows Vista and XP ?

Started by
-1 comments, last by paic 17 years, 6 months ago
Hi again, This time it's a question about the PropertyGrid ^^ I was coding a little app under Windows Vista, and in this app, I have a property grid. I wanted to be able to sort the properties as I want. So, after a few minutes of googling, I found out that adding \t before the display names of my properties worked. For example : [DisplayName("\t\tThis is displayed First")] property String ^ ThisIsDisplayedFirst; [DisplayName("\tSecond")] property String ^ Second; Works, and the \t is not displayed. That not really an intuitive way of sorting my attributes, but it worked. But unfortunately, when I switched back to Windows XP, I wanted to try that on another project, and I didn't work ... it's sorted, but \t is displayed as a black rectangle ... Do you know why ? Is it a font problem ? I think so, but I'm not sure. Thx in advance for any help.

This topic is closed to new replies.

Advertisement