Results 1 to 3 of 3

Thread: Custom menu

  1. #1

    Custom menu

    Name:  24-03-2014 3-45-41 PM.jpg
Views: 124
Size:  46.0 KB

    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.
    Regards
    Cyril

  2. #2
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,184
    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

  3. #3
    Hi Hank

    Thanks, I'll go with your strtran suggestion.
    Regards
    Cyril

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us