Forum Discussion

gus's avatar
gus
Contributor
11 years ago

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
No RepliesBe the first to reply