FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour BUTTONBAR en posicion fija, acepta parametro 2007 ?
Posts: 115
Joined: Fri Oct 14, 2005 07:10 PM
BUTTONBAR en posicion fija, acepta parametro 2007 ?
Posted: Sat Jan 16, 2010 05:37 PM
Es decir : @ 00, 11 BUTTONBAR oBar1 2007
Saludos,

Gonzalo

Puerto Montt - CHILE

FWH 22.12 - Harbour 3.2.0dev (r2008190002) - Borland/Embarcadero C++ 7.0(32-bit)
Posts: 188
Joined: Wed Feb 01, 2006 06:59 PM
Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?
Posted: Sun Jan 17, 2010 09:30 PM
Yo tengo FW907, revisando el fivewin.ch tengo esta sintaxis para buttonbar

Code (fw): Select all Collapse
!short: ButtonBar Commands */

#xcommand DEFINE BUTTONBAR [ <oBar> ] ;
             [ <size: SIZE, BUTTONSIZE, SIZEBUTTON > <nWidth>, <nHeight> ] ;
             [ <_3d: _3D, 3D, 3DLOOK, _3DLOOK> ] ;
             [ <mode: TOP, LEFT, RIGHT, BOTTOM, FLOAT> ] ;
             [ <wnd: OF, WINDOW, DIALOG> <oWnd> ] ;
             [ CURSOR <oCursor> ] ;
             [ <l2007: 2007, _2007> ] ;
      => ;
         [ <oBar> := ] TBar():New( <oWnd>, <nWidth>, <nHeight>, <._3d.>,;
             [ Upper(<(mode)>) ], <oCursor>, <.l2007.> )

#xcommand @ <nRow>, <nCol> BUTTONBAR [ <oBar> ] ;
             [ SIZE <nWidth>, <nHeight> ] ;
             [ BUTTONSIZE <nBtnWidth>, <nBtnHeight> ] ;
             [ <_3d: 3D, 3DLOOK, _3DLOOK> ] ;
             [ <mode: TOP, LEFT, RIGHT, BOTTOM, FLOAT> ] ;
             [ <wnd: OF, WINDOW, DIALOG> <oWnd> ] ;
             [ CURSOR <oCursor> ] ;
      => ;
         [ <oBar> := ] TBar():NewAt( <nRow>, <nCol>, <nWidth>, <nHeight>,;
             <nBtnWidth>, <nBtnHeight>, <oWnd>, <._3d.>, [ Upper(<(mode)>) ],;
             <oCursor> )


Por tanto, no hay como con una buttonbar fija en esta versíon, si tienes una versión superior, revisa la sintaxis de buttonbar en el archivo Fivewin.ch en la carpeta INCLUDE.

Saludos

Fernando Espinoza
Saludos



Fernando Espinoza
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?
Posted: Mon Jan 18, 2010 01:59 AM

After defining the bar,
oBar:l2007 := .t.
works

Regards



G. N. Rao.

Hyderabad, India
Posts: 115
Joined: Fri Oct 14, 2005 07:10 PM
Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?
Posted: Mon Jan 18, 2010 12:46 PM

Thanks G. N. Rao, worked perfectly :)

Saludos,

Gonzalo

Puerto Montt - CHILE

FWH 22.12 - Harbour 3.2.0dev (r2008190002) - Borland/Embarcadero C++ 7.0(32-bit)

Continue the discussion