FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC To Antonio :Menubmp on a dialog
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

To Antonio :Menubmp on a dialog

Posted: 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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: To Antonio :Menubmp on a dialog

Posted: Wed May 06, 2009 06:11 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion