P
Pedro
Hi all;
This isn't the proper newsgroup but let me ask you vb.net experts,
some questions about infragistics. I really need help on this:
Can someone tell me how to add a button to a toolbar with an arrow
that can expand more options? The button should act like a button and
if clicked on the arrow, should show menus and sub-menus if needed.
I've been searching in Infragistics.Win.UltraWinToolbars and besides
ButtonTool, PopupMenuTool and others i did not find any similar
component.
Does Infragistics.Win.UltraWinToolbars.ArrowUIElement has anything to
do with it?
I've tryed the following:
Dim lobuttonExp As New
Infragistics.Win.UltraWinToolbars.ButtonTool("botao")
.... (this code refers to settings and properties of button and also to
the proper code for adding it to ultratoolbarmanager)
....
lobuttonExp.UnderlyingTool.UIElement.ChildElements.AddRange(New
String() _ {"one", "two", "three"})
but the error 'Object reference not set to an instance of an object'
occurs.
I've tryed to instance the object, making:
Dim loArrowUIElement As New
Infragistics.Win.UltraWinToolbars.ArrowUIElement([ParentElement],
UltraToolbarsManager1,
Infragistics.Win.UltraWinToolbars.ArrowUIElement.ArrowOrientation.Down,
Infragistics.Win.UltraWinToolbars.ArrowUIElement.ArrowSize.Medium)
but i don't know what should i put in [ParentElement].
Can someone help, pointing me to some kind of a sample?
Urgent!
Thanks in advance!!!
This isn't the proper newsgroup but let me ask you vb.net experts,
some questions about infragistics. I really need help on this:
Can someone tell me how to add a button to a toolbar with an arrow
that can expand more options? The button should act like a button and
if clicked on the arrow, should show menus and sub-menus if needed.
I've been searching in Infragistics.Win.UltraWinToolbars and besides
ButtonTool, PopupMenuTool and others i did not find any similar
component.
Does Infragistics.Win.UltraWinToolbars.ArrowUIElement has anything to
do with it?
I've tryed the following:
Dim lobuttonExp As New
Infragistics.Win.UltraWinToolbars.ButtonTool("botao")
.... (this code refers to settings and properties of button and also to
the proper code for adding it to ultratoolbarmanager)
....
lobuttonExp.UnderlyingTool.UIElement.ChildElements.AddRange(New
String() _ {"one", "two", "three"})
but the error 'Object reference not set to an instance of an object'
occurs.
I've tryed to instance the object, making:
Dim loArrowUIElement As New
Infragistics.Win.UltraWinToolbars.ArrowUIElement([ParentElement],
UltraToolbarsManager1,
Infragistics.Win.UltraWinToolbars.ArrowUIElement.ArrowOrientation.Down,
Infragistics.Win.UltraWinToolbars.ArrowUIElement.ArrowSize.Medium)
but i don't know what should i put in [ParentElement].
Can someone help, pointing me to some kind of a sample?
Urgent!
Thanks in advance!!!