Search found 415 matches: omenu

Return to advanced search

Re: Bug in TMenu

... to add any clause to a menu without defining any style, it is necessary to add the COLOR clause    in the definition of our menu     Example: MENU oMenu MENUITEM "First" MENU MENUITEM "My Test" BOLD MENUITEM "My Menu" ITALIC ENDMENU ENDMENU In this case, the BOLD and ...
by cnavarro
Sun Jan 06, 2019 12:19 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TMenu [Fixed]
Replies: 9
Views: 3609

Re: Menu desde Tabla MySql

... oDp:nMenuMainClrText oDp:oItemMacro:lActive:=!EMPTY(aMenuMac[1]) .AND. lHorario hacermenu(aMENUMAC) C5ENDMENU STATIC FUNCTION HACERMENU(aMenu,oMenu) LOCAL I:=1,lacceso:=.T.,lutilizo:=.F.,oItem,nIni:=0 lMenuXp:=.T. IF EMPTY(aMenu) .OR. EMPTY(aMenu[1]) RETURN // .F. ENDIF For i=1 TO LEN(aMenu[1]) ...
by jnavas
Wed Dec 12, 2018 11:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Menu desde Tabla MySql
Replies: 16
Views: 3300

Re: Using a Jpg instead of a Bitmap for Opening screen Graphics

I use a file lookup, then save the path in a data field. On startup, I grab the file path in a memory variable, then use:
DEFINE BRUSH oWinBrush FILE cScrWin

Then I use:
DEFINE WINDOW oWnd TITLE mlsTitle FROM 0,0 TO 1030, 1740 PIXEL BRUSH oWinBrush MENU oMenu

It works perfectly.
by TimStone
Mon Nov 19, 2018 12:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using a Jpg instead of a Bitmap for Opening screen Graphics
Replies: 9
Views: 2652

Re: Ribbon Bar Sample ?

... at it, I think it has to be MDI to run. DEFINE WINDOW oWnd TITLE "RibbonBar Test " + FWVERSION from 1,1 to 600,600 pixel MDI MENU oMenu brush oBrush1 It errors out on this line because it expects the MDI window to exist. DEFINE DIALOG oDlgRB[1] FROM 0,0 TO 538,782 OF oWndr:oWndClient ...
by James Bott
Thu Oct 25, 2018 12:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Bar Sample ?
Replies: 13
Views: 2683

Re: image on menu

I made allways oMenu:oFont := oFont then on the menu only I insert 2010/2013/2015 it take the color if I add my colors it not run local nClrText := RGB( 99, 54, 128 ) local nClrTDisa := RGB( 197, 194, 184 ) local nClrPane := RGB( ...
by Silvio.Falconi
Tue Oct 23, 2018 6:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: image on menu RESOLVED
Replies: 33
Views: 3518

Re: image on menu

... Perhaps there is an error ? the source ( is one test of c5) #include "fivewin.ch"function main()local oWndlocal oBarlocal oMenu, oMenu2local oItemlocal oFont      local  nClrText   := RGB(  99,  54, 128 )      local  nClrTDisa  := RGB( 197, 194, 184 )    ...
by Silvio.Falconi
Mon Oct 22, 2018 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: image on menu RESOLVED
Replies: 33
Views: 3518

Problem with Menu - Pdmenu

... Args: [ 1] = U Stack Calls =========== Called from: .\source\classes\PDMENU.PRG => FW_MEASUREITEM( 1102 ) at line 210 of pdmenu there is oMenu:lAdjust at line 1102 I found if oItem:oMenu:lAdjust but I not found this data on Menu.prg and Menuitem.prg
by Silvio.Falconi
Fri Oct 19, 2018 11:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Menu - Pdmenu
Replies: 5
Views: 892

Problem with setmenu

I have a problem calling setmenu method in Fivewin 18.01. In Fivewin 17.07 it´s ok. When i call the setmenu method: oMain:SetMenu( oMenu ), the menu bar is dragged to the left, it sharpens and cuts the gradiente bar on the right. In first time, menu it´s ok. The problem occurred when call ...
by shark
Thu Jul 05, 2018 11:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with setmenu
Replies: 4
Views: 977

Re: Also for popup menu

Try with

ACTIVATE MENU oMenu AT nRow, nCol OF oPanel
by cnavarro
Tue Jun 26, 2018 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Also for popup menu RESOLVED
Replies: 2
Views: 542

New FTDN April/Abril 2018 (FWH 18.04)

... <pDoc>, <nLex>, <bSetup>,; <nSizeFont>, <lBold>, <bInit>, <lLoad>, <lModal>, <bExec>, <oMenu> ) lLoad : load Dll need lModal : Show dialog in modal mode bExec : Function user defined for build prgs oMenu : Object Menu to dialog Please ...
by Antonio Linares
Mon Jun 04, 2018 6:34 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2018 (FWH 18.04)
Replies: 1
Views: 2167

Listbox strange problem

... ADSKeyno, ADSKeycount, ADSGETRELKEYPOS, ADSSETRELKEYPOS static aSecurity[06] function Main( cComp, cUid ) local oWnd , ; oFont, oFont2, oFont3, oMenu , ; oLbx , ; nSysW := GetSysMetrics(0) , ; nSysH := GetSysMetrics(1) , ; nLbxW := 600 , ; nLbxH := 430 , ; cSay := "Search for Booking by" ...
by cdmmaui
Wed May 23, 2018 7:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listbox strange problem
Replies: 2
Views: 728

Re: Menus and Menubar Painting errors

... solved How to fix it?, Please try the following: 1 Option: In your RPREVIEW.PRG try adding the following lines after the menu definition     MENU oMenu        oMenu: l2007: = (nStyle == 2007)        oMenu: l2010: = (nStyle == 2010)        if Upper (:: oWndMain: ClassName ()) == "TMDIFRAME" ...
by cnavarro
Mon Apr 30, 2018 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menus and Menubar Painting errors
Replies: 3
Views: 1117

Re: MENSAJE EN ESPERA

Tengo esto: pero el gif se ejecuta solo una vez #include "fivewin.ch" #include "gif.ch" function main() local oWnd local oMenu menu oMenu menuitem "Prueba" action prueba() endmenu define window oWnd menu oMenu activate window oWnd return nil function prueba() local ...
by jbrita
Fri Apr 13, 2018 10:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MENSAJE EN ESPERA
Replies: 5
Views: 1258

New FTDN February/Febrero 2018 (FWH 18.02)

... FW_VersionNo 18020 has been added to FiveWin.ch * New Methods class TMenu - Create TTreeView object from menu - Similar to METHOD LoadFromMenu( oMenu ) CLASS TTreeView METHOD MnuToTreeV( oParent, nTop, nLeft, nHeight, nWidth, nClrF, nClrB ) METHOD AddItemsTreeV( aItems, oItem ) - Create Tree ...
by Antonio Linares
Fri Mar 09, 2018 12:01 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2018 (FWH 18.02)
Replies: 0
Views: 1338

Re: TMenuItem():New changed

Antonino This is actual definition of command MENUITEM #xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] ; [ MESSAGE <cMsg> ] ; [ <checked: CHECK, CHECKED, MARK> ] ; [ <enable: ENABLED, DISABLED> ] ; [ <file: FILE, FILENAME, ...
by cnavarro
Tue Feb 13, 2018 1:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TMenuItem():New changed
Replies: 5
Views: 983
PreviousNext

Return to advanced search