Click here to Skip to main content
15,845,681 members
Home / Discussions / C#
   

C#

 
GeneralRe: C++ dll, again.. Pin
Dio227-Sep-07 4:13
Dio227-Sep-07 4:13 
QuestionI read about this here Pin
XFighter7-Sep-07 3:53
XFighter7-Sep-07 3:53 
AnswerRe: I read about this here Pin
Giorgi Dalakishvili7-Sep-07 3:56
mentorGiorgi Dalakishvili7-Sep-07 3:56 
AnswerRe: I read about this here Pin
led mike7-Sep-07 5:36
led mike7-Sep-07 5:36 
QuestionHow to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 3:34
c0rvus7-Sep-07 3:34 
AnswerRe: How to get a MenuItem's name in runtime Pin
Giorgi Dalakishvili7-Sep-07 3:50
mentorGiorgi Dalakishvili7-Sep-07 3:50 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 4:28
c0rvus7-Sep-07 4:28 
AnswerRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 4:22
professionalScott Dorman7-Sep-07 4:22 
You might want to be careful changing the Name property of the controls (even MenuItems) at runtime. This property is what the runtime uses to identify each control, not what is displayed on screen. For that, you generally need to change the Text property.

There is a Name property for all UI controls, you may need to cast the object back to a MenuItem in order to access it.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 4:31
c0rvus7-Sep-07 4:31 
GeneralRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 5:21
professionalScott Dorman7-Sep-07 5:21 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 7:57
c0rvus7-Sep-07 7:57 
QuestionRichTextBox e Pin
mihksoft7-Sep-07 2:49
mihksoft7-Sep-07 2:49 
AnswerRe: RichTextBox e Pin
Pete O'Hanlon7-Sep-07 2:52
subeditorPete O'Hanlon7-Sep-07 2:52 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 2:55
mihksoft7-Sep-07 2:55 
AnswerRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 3:00
mentorGiorgi Dalakishvili7-Sep-07 3:00 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 3:14
mihksoft7-Sep-07 3:14 
GeneralRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 3:26
mentorGiorgi Dalakishvili7-Sep-07 3:26 
AnswerRe: RichTextBox e Pin
Luc Pattyn7-Sep-07 3:21
sitebuilderLuc Pattyn7-Sep-07 3:21 
QuestionHave a timer on a function Pin
andredani7-Sep-07 2:48
andredani7-Sep-07 2:48 
AnswerRe: Have a timer on a function Pin
Giorgi Dalakishvili7-Sep-07 2:52
mentorGiorgi Dalakishvili7-Sep-07 2:52 
Questionglobal.asax Pin
kalyan_24167-Sep-07 2:27
kalyan_24167-Sep-07 2:27 
AnswerRe: global.asax Pin
Giorgi Dalakishvili7-Sep-07 2:34
mentorGiorgi Dalakishvili7-Sep-07 2:34 
AnswerRe: global.asax Pin
Pete O'Hanlon7-Sep-07 2:39
subeditorPete O'Hanlon7-Sep-07 2:39 
QuestionProjectitem documents replacetext. Pin
topcatalpha7-Sep-07 2:26
topcatalpha7-Sep-07 2:26 
AnswerRe: Projectitem documents replacetext. Pin
topcatalpha7-Sep-07 3:38
topcatalpha7-Sep-07 3:38 

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.