Click here to Skip to main content
15,949,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: C++ dll, again.. Pin
Dio227-Sep-07 3:13
Dio227-Sep-07 3:13 
QuestionI read about this here Pin
XFighter7-Sep-07 2:53
XFighter7-Sep-07 2:53 
AnswerRe: I read about this here Pin
Giorgi Dalakishvili7-Sep-07 2:56
mentorGiorgi Dalakishvili7-Sep-07 2:56 
AnswerRe: I read about this here Pin
led mike7-Sep-07 4:36
led mike7-Sep-07 4:36 
QuestionHow to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 2:34
c0rvus7-Sep-07 2:34 
AnswerRe: How to get a MenuItem's name in runtime Pin
Giorgi Dalakishvili7-Sep-07 2:50
mentorGiorgi Dalakishvili7-Sep-07 2:50 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 3:28
c0rvus7-Sep-07 3:28 
AnswerRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 3:22
professionalScott Dorman7-Sep-07 3: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 3:31
c0rvus7-Sep-07 3:31 
GeneralRe: How to get a MenuItem's name in runtime Pin
Scott Dorman7-Sep-07 4:21
professionalScott Dorman7-Sep-07 4:21 
GeneralRe: How to get a MenuItem's name in runtime Pin
c0rvus7-Sep-07 6:57
c0rvus7-Sep-07 6:57 
QuestionRichTextBox e Pin
mihksoft7-Sep-07 1:49
mihksoft7-Sep-07 1:49 
AnswerRe: RichTextBox e Pin
Pete O'Hanlon7-Sep-07 1:52
mvePete O'Hanlon7-Sep-07 1:52 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 1:55
mihksoft7-Sep-07 1:55 
AnswerRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 2:00
mentorGiorgi Dalakishvili7-Sep-07 2:00 
GeneralRe: RichTextBox e Pin
mihksoft7-Sep-07 2:14
mihksoft7-Sep-07 2:14 
GeneralRe: RichTextBox e Pin
Giorgi Dalakishvili7-Sep-07 2:26
mentorGiorgi Dalakishvili7-Sep-07 2:26 
AnswerRe: RichTextBox e Pin
Luc Pattyn7-Sep-07 2:21
sitebuilderLuc Pattyn7-Sep-07 2:21 
QuestionHave a timer on a function Pin
andredani7-Sep-07 1:48
andredani7-Sep-07 1:48 
AnswerRe: Have a timer on a function Pin
Giorgi Dalakishvili7-Sep-07 1:52
mentorGiorgi Dalakishvili7-Sep-07 1:52 
Questionglobal.asax Pin
kalyan_24167-Sep-07 1:27
kalyan_24167-Sep-07 1:27 
AnswerRe: global.asax Pin
Giorgi Dalakishvili7-Sep-07 1:34
mentorGiorgi Dalakishvili7-Sep-07 1:34 
AnswerRe: global.asax Pin
Pete O'Hanlon7-Sep-07 1:39
mvePete O'Hanlon7-Sep-07 1:39 
QuestionProjectitem documents replacetext. Pin
topcatalpha7-Sep-07 1:26
topcatalpha7-Sep-07 1:26 
AnswerRe: Projectitem documents replacetext. Pin
topcatalpha7-Sep-07 2:38
topcatalpha7-Sep-07 2: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.