Page 1 of 1

To Antonio :Menubmp on a dialog

PostPosted: Mon May 04, 2009 12:39 am
by Silvio
I want create a dialog with folder
I want put a menu OK and Cancel as menubmp(sample) but no resources

Function test()
Local oDlg,oFld
local oMenu
ShowKeyboard()

DEFINE DIALOG oDlg TITLE "Inserimento" from 0,0 to 11,30

@ 0, 0 FOLDER oFld PROMPTS "Generale", "Dettagli", "Note" ;
SIZE 119, 80


ACTIVATE DIALOG oDlg ;
on init BuildMenu()

HideKeyboard()
return nil


function BuildMenu()
local oMenu
MENUITEM OF oMenu filename "ok.bmp" ACTION MsgInfo( "OK" )
MENUITEM OF oMenu filename "cancel.bmp" ACTION MsgInfo( "cancel" )
return oMenu


can I make it ?

Re: To Antonio :Menubmp on a dialog

PostPosted: Wed May 06, 2009 6:11 pm
by Antonio Linares