alias dinamicos en dialogos nomodales

Re: alias dinamicos en dialogos nomodales

Postby nageswaragunupudi » Fri Mar 10, 2017 2:30 am

We recommend creating of XBrowse using command syntax similar to this:
Code: Select all  Expand view
REDEFINE XBROWSE oBrw OF oDlg ID 101 ALIAS cAlias ;
   COLUMNS "Clave", "NOMBREEXT" ;
   HEADERS "Clave", "Nombre" ;
   COLSIZES 45, 300 ;
   CELL LINES

oBrw:aCols[ 1 ]:lAllowSizing := .f.
oBrw:aCols[ 2 ]:lAllowSizing := .f.

ACTIVATE DIALOG oDlg NOMODAL ;
VALID ( ( cAlias )->( DBCLOSEAREA() ), .t. )


We advise not to use the syntax
Code: Select all  Expand view

oBrw := TXBrowse():New( oDlg )
 


Using command line syntax as advised by us is not only simple and short but most importantly that is the only way to use the full power of xbrowse.

If you still want to use your syntax, it is upto you, but you will not get many benefits that xbrowse provides.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10321
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 122 guests