Re: Dynamic menu
Posted in 1999
It depends wich 4GL version do you have. You can write a BEFORE MENU statement and put in there a number of HIDE OPTION/SHOW OPTION to disable or enable a menu option. Like: MENU "TEST" HIDE OPTION "1" HIDE OPTION "2" SHOW OPTION "1" COMMAND KEY(F1) "1" EXIT MENU COMMAND KEY(F2) "2" EXIT MENU COMMAND KEY(F3) "3" EXIT MENU END MENU And don't forget you can use variables for option's text and comments. So, it is not so static :-) Best Regards, Octav Ikhlasul Amal wrote: > > My application needs users' item menu is saved on table, so each user > group had differeence menu. But, how to display Informix's menu > dinamiically based on table-record? seems MENU command so static. > > Any idea? > > -- > -- ikhlasul > > Sent via Deja.com http://www.deja.com/ > Before you buy. -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com