Hexagon Geospatial
MENU

Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 91
Registered: ‎11-10-2015
Accepted Solution

PLUGIN Button Commande position in the toolbar

Hi

 

We wonder how we can define the position of a plugin button command in the menubar Favorits. If we do nothing specific in the code the button is  between the Start GPS button and the Adanced tooltip button.

 

And if we try to manage the position with a piece of code  (in the actionLocation we setup the actionOrder=) it appears in the first position what ever the paramater we use.

 

Any idea?

 

Regards

 

David

 

 

Technical Evangelist
Posts: 102
Registered: ‎10-20-2015

Re: PLUGIN Button Commande position in the toolbar

Hi David,

which actionOrder value do you use?

The default value is 1000. I assume that you use an value which is lower than 1000. Am I right?

 

You have only two solutions:

Solution 1: use a value which is lower than 1000, to get your action at the first position.

Solution 2: use a value greater than 1000, to get your action at the last postion

 

 

Best Regards,

Steve

Frequent Contributor
Posts: 91
Registered: ‎11-10-2015

Re: PLUGIN Button Commande position in the toolbar

Hi

 

Thank you, i missed the notification of your answer.

 

Regards

 

David

 

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.