LOGOMENU "..\bitmaps\fivetechv.png" ; //identify.bmp" ;
cnavarro wrote:Put your definition of menu
Silvio.Falconi wrote:Cristobal, compuin
I see this
the lock is on the left side of the sub-menu
#include "fivewin.ch"
function main()
local oWnd
local oBar
local oMenu, oMenu2
local oItem
local oFont
local nClrText := RGB( 99, 54, 128 )
local nClrTDisa := RGB( 197, 194, 184 )
local nClrPane := RGB( 245, 245, 245 )
local nClrSepar := RGB( 94, 129, 197 )
local nClrPMgn1 := RGB( 227, 238, 255 )
local nClrPMgn2 := RGB( 128, 167, 226 )
local nClrPSel := RGB( 255, 252, 203 )
local nClrPSel2 := RGB( 255, 213, 61 )
local nClrBPSel := RGB( 185, 158, 106 )
local nClrPCheck := RGB( 225, 230, 232 )
local nClrBCheck := RGB( 49, 106, 197 )
DEFINE FONT oFont NAME "Tahoma" SIZE 0, -10
// oMenu:SetStyle( 14 )
MENU oMenu 2015 ;
COLORMENU nClrPane, nClrText ;
COLORSELECT nClrPSel, nClrPSel2, nClrBPSel ;
COLORLEFT nClrPMgn1 ;
COLORRIGHT nClrPMgn2;
COLORSEPARATOR nClrSepar ;
logomenu "medical.BMP"
oMenu:oFont := oFont
MENUITEM "&File" :
MENU
MENUITEM "&New" + chr(9) + "Ctrl+N" NAME "btn1"
MENUITEM "&Open" + chr(9) + "Ctrl+O" NAME "btn2"
MENUITEM "&Save" + chr(9) + "Ctrl+S" NAME "btn3"
SEPARATOR
MENUITEM "S&end" NAME "btn4"
SEPARATOR
MENUITEM "&Print" + chr(9) + "Ctrl+P" NAME "btn5"
MENUITEM "Print Preview" NAME "btn6"
SEPARATOR
MENUITEM "E&xit"
ENDMENU
ENDMENU
DEFINE WINDOW oWnd MENU oMenu
ACTIVATE WINDOW oWnd
return 0
btn1 BITMAP "bmps\image1.bmp"
btn2 BITMAP "bmps\image2.bmp"
btn3 BITMAP "bmps\image3.bmp"
btn4 BITMAP "bmps\image4.bmp"
btn5 BITMAP "bmps\image5.bmp"
btn6 BITMAP "bmps\image6.bmp"
btn7 BITMAP "bmps\image7.bmp"
btn8 BITMAP "bmps\image8.bmp"
btn9 BITMAP "bmps\image9.bmp"
Silvio.Falconi wrote:compuin do you saw the mail ?
Compuin wrote:Silvio.Falconi wrote:compuin do you saw the mail ?
Silvio,
Listo!
Revisa tu email y dejame saber
#include "fivewin.ch"
function main()
local oWnd
local oBar
local oMenu, oMenu2
local oItem
local oFont
// oMenu:SetStyle( 14 )
local nClrText := RGB( 99, 54, 128 )
local nClrTDisa := RGB( 197, 194, 184 )
local nClrPane := RGB( 245, 245, 245 )
local nClrSepar := RGB( 94, 129, 197 )
local nClrPMgn1 := RGB( 227, 238, 255 )
local nClrPMgn2 := RGB( 128, 167, 226 )
local nClrPSel := RGB( 255, 252, 203 )
local nClrPSel2 := RGB( 255, 213, 61 )
local nClrBPSel := RGB( 185, 158, 106 )
local nClrPCheck := RGB( 225, 230, 232 )
local nClrBCheck := RGB( 49, 106, 197 )
DEFINE FONT oFont NAME "Tahoma" SIZE 0, -10
//oMenu:oFont := oFont
MENU oMenu ;
oMenu:oFont := oFont
MENUITEM "&File"
MENU FONT oFont 2013 ;
COLORMENU CLR_WHITE, CLR_BLUE ;
COLORSELECT METRO_STEEL, METRO_STEEL, RGB( 0, 0, 1 ) ;
COLORLEFT CLR_WHITE ;
COLORRIGHT CLR_WHITE ;
COLORSEPARATOR METRO_OLIVE ; // NOINHERIT ; // FACTOR 4 ;
LEFTWIDTH 24 ; //HEIGHT 1.0 * 2 ; // RIGHTSPACE 10 ; // ADJUST ;
LOGOMENU "medical.bmp" ; //identify.bmp" ; //
// IMGMENU "..\bitmaps\AlphaBmp\lock.bmp" ;//fivewing.bmp"
// BRUSH "..\bitmaps\backgrnd\confetti.bmp"
MENUITEM "&New" + chr(9) + "Ctrl+N" NAME "btn1"
MENUITEM "&Open" + chr(9) + "Ctrl+O" NAME "btn2"
MENUITEM "&Save" + chr(9) + "Ctrl+S" NAME "btn3"
SEPARATOR
MENUITEM "S&end" NAME "btn4"
SEPARATOR
MENUITEM "&Print" + chr(9) + "Ctrl+P" NAME "btn5"
MENUITEM "Print Preview" NAME "btn6"
SEPARATOR
MENUITEM "E&xit"
ENDMENU
ENDMENU
DEFINE WINDOW oWnd MENU oMenu
ACTIVATE WINDOW oWnd
return 0
oMenu:oFont := oFont
MENU oMenu FONT oFont
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 111 guests