Page 1 of 1

Menu from code

Posted: Wed Jan 11, 2006 3:57 pm
by Enrico Maria Giordano
Is it implemented? The following sample doesn't compile:

Code: Select all

#include "Fwce.ch"


FUNCTION MAIN()

    LOCAL oWnd, oMen

    MENU oMen
        MENUITEM "Test" ACTION MSGINFO( "Test" )
    ENDMENU

    DEFINE WINDOW oWnd;
           MENU oMen

    ACTIVATE WINDOW oWnd

    RETURN NIL
EMG

Posted: Wed Jan 11, 2006 7:13 pm
by Antonio Linares
Enrico,

No, it is not implemented yet as we have not found yet the needed API functions. More over, they may not exist.

Posted: Wed Jan 11, 2006 7:14 pm
by Enrico Maria Giordano
Ok, thank you.

EMG