Hello, I would like to disable the right-click menus appearing in col list box.
I found the Menus Enabled () command in the scripting index, but the example reported there does not seem to work (Jmp 13 PRO) , I see no difference between
Menus Enabled( 1 ); and Menus Enabled( 0 );
---
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Col List Box Example",
Col List Box( all, width( 250 ), maxSelected( 1 ) ),
fontobj = lb = Col List Box()
);
lb << append( "weight" );
lb << append( "height" );
lb << Menus Enabled( 0 );
Am I missing something?
By the way, I found a workaround by defining a dummy empty menu with
<<Set Context Menu Script({}), but it's not as clean as I 'd like.
thanks
Matteo