Search found 20 matches: abuttons

Return to advanced search

Re: multiple defintions, forst defined here

... TRADEY := 0 PUBLIC CUT800 := 230 PUBLIC CUT1024 := 230 PUBLIC HFONT := GETSTOCKOBJECT(OEM_FIXED_FONT) PUBLIC PRINTPORT := "1" PUBLIC ABUTTONS := {} PUBLIC TOTBUTTON := 0 PUBLIC BUTTNBLOCK PUBLIC TEMPTOTCOMM PUBLIC TEMPTOTNET PUBLIC CALCMAN PUBLIC CALCMANFILTER PUBLIC REALGANFILE PUBLIC ...
by lmheimendinger
Mon Dec 05, 2016 3:52 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 20383

Re: toolbar boton desactivar?

Prueba con oTb:aControls[2]:disable(), saludos... :shock: bien bien! habia probado con abuttons.... gracias! gracias! Es lo primero que tambien se me habia ocurrido, pero asumiendo que ya lo habias intentado asi, revise la clase y vi que no era eso si no el aControls, ...
by joseluisysturiz
Mon Nov 09, 2015 5:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: toolbar boton desactivar?
Replies: 6
Views: 821

Re: toolbar boton desactivar?

joseluisysturiz wrote:Prueba con oTb:aControls[2]:disable(), saludos... :shock:



bien bien! habia probado con abuttons....

gracias! gracias!
by goosfancito
Mon Nov 09, 2015 5:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: toolbar boton desactivar?
Replies: 6
Views: 821

Re: Codejock and Harbour + FWH

Hi George, Please Change like this function RibbonBarEvent( cEvent, aParams, pParams, aButtons, oWnd ) do case case cEvent == "Execute" .and. Len( aButtons ) > 0 do case case aButtons[ 1 ]:hObj == aParams[ 1 ] :hObj MsgInfo( "Button 1" ) case ...
by RAMESHBABU
Mon Jan 27, 2014 1:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock and Harbour + FWH
Replies: 7
Views: 2861

Re: Saber que buttons se selecciono

... presionado. Local nSeleccion:=1 . . . DEFINE DIALOG oDlg FROM 15, 30 TO 17+len(tG)+4, 82 FONT oFnt_Texto for nI:=1 to len(tG) @ len(tG), nC BUTTON aButtons[nI] OF oDlg SIZE nLB*5,14 Font oFnt_Button ; ACTION ( nSeleccion:=eval( makeBlock(nI) ), lExit := .T., oDlg:End() ) nC+=nLB next nI ACTIVATE ...
by jgayoso
Thu Nov 11, 2010 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saber que buttons se selecciono
Replies: 5
Views: 983

Re: Saber que buttons se selecciono

@ len(tG), nC BUTTON aButtons[nI] OF oDlg SIZE nLB*5,14 Font oFnt_Button ;
ACTION ( nSelccion:= eval( makeBlock(nI) ), lExit := .T.,oDlg:End() )

...

function makeBlock( i )
return {| u | i }
by James Bott
Wed Nov 10, 2010 1:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saber que buttons se selecciono
Replies: 5
Views: 983

Saber que buttons se selecciono

... DIALOG oDlg FROM 15, 30 TO 17+len(tG)+4, 82 FONT oFnt_Texto for nI:=1 to len(tG) @nI-1,2 say tG[nI] Font oFnt_Texto next nI for nI:=1 to len(aButtons) @ len(tG), nC BUTTON aButtons[nI] OF oDlg SIZE nLB*5,14 Font oFnt_Button ; ACTION ( lExit := .T., oDlg:End() ) nC+=nLB next nIB ACTIVATE DIALOG ...
by jgayoso
Tue Nov 09, 2010 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saber que buttons se selecciono
Replies: 5
Views: 983

Re: Erro com 9.07

Rossine,

Prueba asi:

case aButtons[ 1 ]:__hObj == aParams[ 1 ]:__hObj
by Antonio Linares
Fri Aug 21, 2009 8:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Erro com 9.07
Replies: 28
Views: 9138

Re: Erro com 9.07

... Sí, porque ahora la DATA hObj se llama __hObj en Harbour OK Eu mudei o código para isto: function RibbonBarEvent( cEvent, aParams, pParams, aButtons, oWnd )   do case      case cEvent == "Execute" .and. Len( aButtons ) > 0           do case              case aButtons[ ...
by Rossine
Fri Aug 21, 2009 7:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Erro com 9.07
Replies: 28
Views: 9138

Re: Codejock RibbonBar first tests

... a button was clicked by the user, the variable <cEvent> has 'normally' the value "Execute". All buttons resides in the array <aButtons>, if 'aButtons[ 1 ]:hObj == aParams[ 1 ]' you know which button was pressed! I really want to know, how Lailton, Richard, or who else has ...
by frose
Sat Apr 04, 2009 9:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Codejock RibbonBar first tests
Replies: 116
Views: 35187

Ayuda Mysql

... { || oWinh:End() } , "Salir", " Salir ") oToolBar : AddSeparator() oToolBar : AddButton( { || .t. } , "Excel", "Excel") AEval( oToolBar : aButtons, { | aBtn, nBtn| CAMBIA_EL_SIZE_DEL_BOTON( oToolBar : hWnd,; nBtn, nOr( 0x0010 ) ) } ) oReBar : InsertBand( oToolBar ) oWinH : Hide() Define ...
by horacio
Tue Nov 18, 2008 2:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Mysql
Replies: 0
Views: 850

Aqui te mando la función que hace lo que necesitas. En tu código lo manejas así. AEval( oToolBar : aButtons, { | aBtn, nBtn| CAMBIA_EL_SIZE_DEL_BOTON( oToolBar : hWnd, nBtn, nOr( 0x0010 ) ) } ) #pragma BEGINDUMP #include <windows.h> #include <commctrl.h> #include ...
by horacio
Fri Nov 07, 2008 3:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de los botones en una toolbar
Replies: 4
Views: 754

Silvio,

You can't because the ToolBar object does not manage buttons as objects.

You can access its properties from its index into oToolBar:aButtons
by Antonio Linares
Fri Sep 19, 2008 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tbmenu
Replies: 6
Views: 1102

... Armando Sintax no this not wandered See the esmplo in fwh\samples\dbf01.prg REDEFINE BUTTON oBtnNew ID ID_NEW OF oDlg; ACTION New (@ lNew, oDbf, aButtons, oDlg); MESSAGE "Add the new customer"
by marca
Wed Sep 03, 2008 5:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with the message of the button
Replies: 5
Views: 1105

Button Bars

... -------------------------------------------------------------------------------- In the norton guides it says that the class TBAR has Data called aButtons but when I try to access this array I keep getting "No exp.method:TBAR:aButtons". Also, if I check the source code for the TBAR object I see ...
by Antonio Linares
Wed Aug 27, 2008 7:36 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 65428
Next

Return to advanced search