Click here to Skip to main content
15,894,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:41
protectorHeath Stewart24-Mar-04 8:41 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 8:55
je_gonzalez24-Mar-04 8:55 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:02
protectorHeath Stewart24-Mar-04 9:02 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:13
je_gonzalez24-Mar-04 9:13 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:18
protectorHeath Stewart24-Mar-04 9:18 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:26
je_gonzalez24-Mar-04 9:26 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:47
protectorHeath Stewart24-Mar-04 8:47 
GeneralRe: Component Text Property Pin
dbetting24-Mar-04 15:41
dbetting24-Mar-04 15:41 
Thanks. I was only using the Category, Description and Default attributes. Adding the Browsable and EditorBrowsable attributes did the trick.

Now that I've got it showing, testing has shown a couple other nuances.
1. Using Default doesn't do anything, it always contains the default object name as the default Text, regardless of the Default attribute. Even setting a line after InitializeComponent(); as Text="";, didn't do anything.
2. I would've been able to live with the Text property not being blank upon dropping the component on the form but not remembering its value just ain't cool. Initially I tried to use base.Text as the storage for the Text value (seemed the appropriate thing to do). Close the form and open it, the Text value is gone. Tried using a private variable instead, got the same result. Tried using new rather than override in both scenarios of base.Text and a private variable. The component still will not remember the value of Text. None of this affected Default either.

While answering this, can you tell me if there is a trick to finding info in the Help and/or SDKs? I suspect the answer you provided would've been there but, while there is probably everything I need to know at my finger tips, asking the right question seems to be the issue (thus RTFF seems to be a better solution than RTFM). Unfortunately, due to corporate bankrupcies I no longer have the team with which to collaborate (previously coded in Delphi) and some of the nuances of .Net have been somewhat frustrating to decipher.

Thanks again.
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 17:08
protectorHeath Stewart24-Mar-04 17:08 
Generalversion numbers Pin
surgeproof24-Mar-04 6:22
surgeproof24-Mar-04 6:22 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 6:50
Michael Flanakin24-Mar-04 6:50 
GeneralRe: version numbers Pin
surgeproof24-Mar-04 7:15
surgeproof24-Mar-04 7:15 
GeneralRe: version numbers Pin
Heath Stewart24-Mar-04 8:55
protectorHeath Stewart24-Mar-04 8:55 
GeneralRe: version numbers Pin
surgeproof24-Mar-04 9:19
surgeproof24-Mar-04 9:19 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 10:32
Michael Flanakin24-Mar-04 10:32 
QuestionTransparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 5:54
DennisMetz24-Mar-04 5:54 
AnswerRe: Transparent Label on a Progressbar? Pin
surgeproof24-Mar-04 6:24
surgeproof24-Mar-04 6:24 
AnswerRe: Transparent Label on a Progressbar? Pin
Heath Stewart24-Mar-04 9:54
protectorHeath Stewart24-Mar-04 9:54 
GeneralRe: Transparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 11:40
DennisMetz24-Mar-04 11:40 
GeneralApps without Mice Pin
Andrew Torrance24-Mar-04 5:43
Andrew Torrance24-Mar-04 5:43 
GeneralRe: Apps without Mice Pin
surgeproof24-Mar-04 6:15
surgeproof24-Mar-04 6:15 
GeneralRe: Apps without Mice Pin
Colin Angus Mackay24-Mar-04 6:25
Colin Angus Mackay24-Mar-04 6:25 
GeneralRe: Apps without Mice Pin
Heath Stewart24-Mar-04 9:12
protectorHeath Stewart24-Mar-04 9:12 
Questionhow to wrap some dll functions from VC6 Pin
yyf24-Mar-04 5:37
yyf24-Mar-04 5:37 
AnswerRe: how to wrap some dll functions from VC6 Pin
Heath Stewart24-Mar-04 9:08
protectorHeath Stewart24-Mar-04 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.