To Antonio :Menubmp on a dialog

To Antonio :Menubmp on a dialog

Postby Silvio » Mon May 04, 2009 12:39 am

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 ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: To Antonio :Menubmp on a dialog

Postby Antonio Linares » Wed May 06, 2009 6:11 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42111
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 42 guests