Search found 42 matches: omenuitem

Return to advanced search

Re: New FTDN August/Agosto 2020 (FWH 20.08)

... en caso de usar Redefine(), resultando un error en tiempo de ejecución. Solucionado. * Mejora: La claúsula MENUITEM ... WHEN ahora recibe oMenuItem (Self) como parámetro. * Mejora: En el ejemplo, samples\fivedbu.prg ahora muestra como seleccionada la etiqueta de índice actual de el botón ...
by Antonio Linares
Tue Sep 22, 2020 4:33 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 2304

New FTDN August/Agosto 2020 (FWH 20.08)

... Fix: DATA lFlat is not initialized in case of Redefine() resulting in runtime error. Fixed. * Enhancement: MENUITEM ... WHEN clause now receives oMenuItem (Self) as the parameter. * Enhancement: samples\fivedbu.prg now shows as selected the current index tag from the button "index" ...
by Antonio Linares
Sun Sep 20, 2020 11:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2020 (FWH 20.08)
Replies: 3
Views: 2304

Explicacion de codigo

... nil, !( XbrNumFormat()[ 2 ] ) ), ;                     oMenuItem:SetCheck( XBrNumFormat()[ 2 ] ) )  Lo primero, no entiendo como fivewin sabe que existe el objeto oMenuItem, ...
by jvtecheto
Sun Oct 06, 2019 6:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Explicacion de codigo
Replies: 0
Views: 536

Re: Buttonbar + Menu VS. Ribbonbar

... (cTipnom:="Q",rep_incqui()) resource "nomina_quincena"    endmenureturn oPopuprn  Quisiera obtener el valor de oMenuitem:cPrompt, solo cuando se pulse el botón derecho del mouse, en caso contrario que ejecute su clausula "ACTION" de forma normal.
by mariordz
Mon Apr 08, 2019 5:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buttonbar + Menu VS. Ribbonbar
Replies: 12
Views: 2571

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: 945

Re: Bold on Menuitem

Silvio, It does not serve him well? #xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] ; [ MESSAGE <cMsg> ] ; [ <checked: CHECK, CHECKED, MARK> ] ; [ <enable: ENABLED, DISABLED> ] ; [ <file: FILE, FILENAME, DISK> ...
by cnavarro
Tue Mar 29, 2016 5:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bold on Menuitem
Replies: 2
Views: 478

Re: Menuitem error with SetPrompt - Solved

... oSubMenu:l2007 = oMenu:l2007 // new oSubMenu:l2010 = oMenu:l2010 // new oSubMenu:hMenu = hSubMenu oSubMenu:lSysMenu = .f. oSubMenu:aMenuItems = {} oMenuItem:bAction = oSubMenu ResBuild( oSubMenu ) endif ... With those changes it does not fail. I am including this change for next FWH build, thanks :-)
by Antonio Linares
Sun Jul 13, 2014 6:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5792

Re: Migrate to Harbour

Cristobal, Enrico, look the .ppo     oMen := MenuBegin( .F.,,, .F., .F. )        MenuAddItem( "Test",, .F.,, {|oMenuItem|MSGINFO( "OK" )},,,,,,, .F.,,, .F. )    MenuEnd()  If you are suggesting to change tons of lines of code, well, ...
by cnavarro
Sat Jul 05, 2014 2:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Antonio, But it is not a proper solution, because that oMenuItem is not this one: #xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] because it could be used from the codeblock, but not defined there. In other words, the codeblock parameter ...
by Enrico Maria Giordano
Sat Jul 05, 2014 2:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Antonio, Enrico, If I properly understand you, what you want should get solved this way: [\{| [ <oMenuItem> ] | <uAction>\}],; If with this change is working right, then we modify FiveWin.ch and problem solved :-) Please note that this is only one of many warnings ...
by Enrico Maria Giordano
Sat Jul 05, 2014 2:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

But it is not a proper solution, because that oMenuItem is not this one: #xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] because it could be used from the codeblock, but not defined there. In other words, the codeblock parameter ...
by Antonio Linares
Sat Jul 05, 2014 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Enrico,

If I properly understand you, what you want should get solved this way:

[\{| [<oMenuItem>] | <uAction>\}],;

If with this change is working right, then we modify FiveWin.ch and problem solved :-)
by Antonio Linares
Sat Jul 05, 2014 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Antonio,

Antonio Linares wrote:Enrico,

But this is what you wanted to get, right ?

Warning W0004 Codeblock parameter 'OMENUITEM' declared but not used in function 'MAIN'


No, as I don't see any OMENUITEM in my code.

EMG
by Enrico Maria Giordano
Sat Jul 05, 2014 10:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Cristobal, Enrico, modify #xcommand MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] ; [ MESSAGE <cMsg> ] ; [ <checked: CHECK, CHECKED, MARK> ] ; [ <enable: ENABLED, DISABLED> ] ; [ <file: FILE, FILENAME, DISK> <cBmpFile> ...
by Enrico Maria Giordano
Sat Jul 05, 2014 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910

Re: Migrate to Harbour

Enrico,

But this is what you wanted to get, right ?

Warning W0004 Codeblock parameter 'OMENUITEM' declared but not used in function 'MAIN'
by Antonio Linares
Sat Jul 05, 2014 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Migrate to Harbour
Replies: 85
Views: 11910
Next

Return to advanced search