-
1 Attachment(s)
Custom menu
Attachment 601
I think the behavior has changed (Beta3).
The shortcuts work as before eg Alt+D.
But clicking on the custom menu now incorporates the HTML in the cAction. See below...
Before I had:
Code:
proc page1_section1_customsectionmenu(cAction)
// insert your code here
do case
case cAction = 'Date'
set order tag DAAT
But now I have to have:
Code:
do case
case cAction = 'Date' or cAction = '<b>D</b>ate'
'Date' works with menu selection via Alt+D
'<b>D</b>ate' works with menu selection via clicking on the Menu item Date.
-
Hi Cyril,
it's been this way all along for me.
I do a strtran(strtran(caction,"<b>",""),"</b>","") to get the real value. I have it rolled into a library function, of course.
Hank
-
Hi Hank
Thanks, I'll go with your strtran suggestion.