To fix the position of a CTB menu? [Solved]
Posted: 15 Mar 2022 17:21
I have a script that looks like this:
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?
Code: Select all
"Say a"
msg("a");
"Say b"
msg("b");
"Say c"
msg("c");
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?