The 'name' property of RibbonItem

Jan 14, 2014 at 3:41 AM

I don't get read item name on Office Ribbon, when i call the 'name' property returns the follow error: 'name' is not a member of 'System.Windows.Forms.RibbonItem'.

The code used is:
Debug.WriteLine("    item: "& rbMain.Tabs(IntTab).Panels(intPnl).Items(intItem).name & "")
Best Regards
Feb 9, 2014 at 8:18 PM
Currently working on that. Have already an idea. Give me some time!

Feb 10, 2014 at 3:44 AM
Hello toAtWork,

Honestly, I don't have idea. I looked at the source code and apparently it's all right.
I think so strange, with others objects does not occur.
But i go looked the source one more time, may be I find something.

Best regards,
Feb 10, 2014 at 9:36 AM
It is quite clear. You won't find anything. The "Name" property is not implemented - yet!
Feb 10, 2014 at 6:59 PM
Hi BredRick,

It is done:

PS: Name starts with a capital letter

Have fun ;-)
Feb 12, 2014 at 2:03 AM
Edited Feb 12, 2014 at 2:46 AM
Thanks toAtWork! =]

I am grateful for your quick response. I will download the source code to track items as I expected, and, i apologize for the inconvenience.

Best regards

PS: I will implement the property name in all objects, because i will need in the future. okay?
I have send my source code for you? How i do?
Feb 12, 2014 at 8:10 AM
It is implemented for all RibbonItems - this is the base class for everything!
Feb 12, 2014 at 9:11 AM
Including panels and tabs? I had to include the property in both. =\
Feb 13, 2014 at 7:44 AM
Will check that on weekend!
Feb 16, 2014 at 6:59 PM
Feb 18, 2014 at 8:16 AM
Thanks toAtWork for the attention

I will use yours new code.