Page 1 of 1
Can't open popup menu via UDC
Posted: 31 Jul 2022 01:52
by Norn
Deleted the udc.dat file and reset, the popup menu works fine. Is the udc.dat file corrupted? The popup menu always works on Run Script window and toolbar buttons.
I will reset UDC.
Code: Select all
popupnested("Copy Commands|#101;;:copypath|#102|Dual Pane Commands|#800;;:dp| #801| #802"); // mixed commands nested with toolbar icons
udc.dat.zip
Re: Can't open popup menu via UDC
Posted: 31 Jul 2022 09:28
by admin
Deleted the udc.dat file ... why?
Re: Can't open popup menu via UDC
Posted: 31 Jul 2022 12:20
by Norn
I have checked the XYplorer.ini file and the problem is not resolved, deleting the udc.dat file is a faster solution (Of course I backed up the entire XY folder), a small problem, just report it.
Re: Can't open popup menu via UDC
Posted: 01 Aug 2022 08:39
by admin
I tried your udc.dat and it worked fine. No problem.

Re: Can't open popup menu via UDC
Posted: 01 Aug 2022 14:46
by Norn
I found another problem, can't use "Blue" as caption via UDC.
The menu disappears in a flash:
Code: Select all
$menu = <<<MENU
Blue|tag("5", , 0)|<xy>
MENU;
$command = popupnested($menu,,,,,,,|);
Works fine:
Code: Select all
$menu = <<<MENU
Green|tag("5", , 0)|<xy>
MENU;
$command = popupnested($menu,,,,,,,|);
Re: Can't open popup menu via UDC
Posted: 01 Aug 2022 17:39
by admin
Not here. Are you using the name "Blue" for some special folder?
Re: Can't open popup menu via UDC
Posted: 02 Aug 2022 10:58
by Norn
I assigned SHIFT+B to the script, so the caption can't start with b

Re: Can't open popup menu via UDC
Posted: 02 Aug 2022 11:03
by admin
Anyway, this thread inspired me to add a new syntax option to popups and Hamburgers. Next beta...
Re: Can't open popup menu via UDC
Posted: 02 Aug 2022 14:33
by Norn
Good, but this example might be confusing:
Example definitions as used in Hamburger:
|>Green|::tag 4
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple
Hamburger.png
Works:
Code: Select all
#101
|>Green|::tag 4|:cfi
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple
Code: Select all
:
|>Green|::tag 4|:cfi
|>Blue|::tag 5|:labels
|>Purple|::tag 6|:labels|make it purple
Re: Can't open popup menu via UDC
Posted: 02 Aug 2022 17:15
by admin
Ah, thanks!

Fix comes.