gus
11 years agoContributor
Any way to find out the left and top coordinates of an item of a Devex XtraBars control?
Hi,
I have the following object on a Devex XtraBars ribbon:
myButton = Aliases.Foo.MainWindow.MainRibbonControl.Pages.Item(0).Groups.Item(2).ItemLinks.Item(0).Item
This is a reference to a ribbon button with an associated dropdown menu, that is myButton has a DropDownControl property.
Do you know any way to determine the left and top coordinates of myButton or the associated dropdown? I am progammatically opening the drop-down menu, but it appears at the wrong place since I can not figure out the proper coordinates.
These mentioned objects seem to not have Left and Top properties.
Kind regards.
Gusztáv
I have the following object on a Devex XtraBars ribbon:
myButton = Aliases.Foo.MainWindow.MainRibbonControl.Pages.Item(0).Groups.Item(2).ItemLinks.Item(0).Item
This is a reference to a ribbon button with an associated dropdown menu, that is myButton has a DropDownControl property.
Do you know any way to determine the left and top coordinates of myButton or the associated dropdown? I am progammatically opening the drop-down menu, but it appears at the wrong place since I can not figure out the proper coordinates.
These mentioned objects seem to not have Left and Top properties.
Kind regards.
Gusztáv