How to browse class's fields in property grid ?
-
Class Class1 Public Field1 as Integer End Class
I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?I think the clue is in the word "Property"
Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'
-
Class Class1 Public Field1 as Integer End Class
I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?Ky Nam wrote:
I'm sure that many coders want browse Class1.Field1 in designer property grid
Speak for yourself. I don't want it to.
Ky Nam wrote:
why Microsoft doesn't support it ?
Because exposing fields as public is bad practice...? You're supposed to be exposing PRIVATE fields through nice little public Property accessors.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Class Class1 Public Field1 as Integer End Class
I'm sure that many coders want browse Class1.Field1 in designer property grid , why Microsoft doesn't support it ?hey guy if u r in ur home u follow ur home,s rule not to other,s same like when u work in microsoft it has also there rule ok don,t ask this type of question. read it private, public, partial property to set the class byeeeee hope u understand:laugh: lucky
-
hey guy if u r in ur home u follow ur home,s rule not to other,s same like when u work in microsoft it has also there rule ok don,t ask this type of question. read it private, public, partial property to set the class byeeeee hope u understand:laugh: lucky
Speaking of rules... Do NOT use SMS Speak in the fourms. It makes your posts quite difficult to read. You've got a 101+ key keyboard in front on your, use it!
Lucky Sheikh wrote:
hope u understand:
Barely, just barely.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007