Page 1 of 1

BUTTONBAR en posicion fija, acepta parametro 2007 ?

Posted: Sat Jan 16, 2010 5:37 pm
by gdeteran
Es decir : @ 00, 11 BUTTONBAR oBar1 2007

Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?

Posted: Sun Jan 17, 2010 9:30 pm
by fespinoza
Yo tengo FW907, revisando el fivewin.ch tengo esta sintaxis para buttonbar

Code: Select all

!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

Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?

Posted: Mon Jan 18, 2010 1:59 am
by nageswaragunupudi
After defining the bar,
oBar:l2007 := .t.
works

Re: BUTTONBAR en posicion fija, acepta parametro 2007 ?

Posted: Mon Jan 18, 2010 12:46 pm
by gdeteran
Thanks G. N. Rao, worked perfectly :)