Page 1 of 1

To fix the position of a CTB menu? [Solved]

Posted: 15 Mar 2022 17:21
by John_C
I have a script that looks like this:

Code: Select all

"Say a"
  msg("a");

"Say b"
  msg("b");

"Say c"
  msg("c");
The script is assigned to a CTB, and when I left-click the CTB, the context menu appears.

There is a one thing that I don't like, though. The top-left corner of the menu appears exactly where the cursor points, so the menu doesn't have any fixed position.

Compare it with the drop-down menu that drops when you left-click "Open With" toolbar button. The menu appears exactly under the button. Its position never changes.

Is it possible to make my CTB to work in such a way?

Re: To fix the position of a CTB menu?

Posted: 15 Mar 2022 17:25
by jupe
Easiest way is to Edit... the button, select "Fire click on mousedown".

Re: To fix the position of a CTB menu?

Posted: 15 Mar 2022 17:56
by John_C
Perfect, thanks!