Página 1 de 1

Column deleting from Browse

Publicado: Lun Jun 04, 2007 3:54 pm
por Gejza Horvath
Jose,
Is it not possible to delete all columns from browser. The DelCol(1) method returns .F.,
if the browser has 1 column. I'm looking into source code, and see the raison:
IF Len( ::aCols ) <= 1 .AND. ! Empty( ::Handle )
MsgBeep()
RETURN .F.
ENDIF
Why isn't enabled deleting the only one column, when the browser can exist without
columns?
Gejza

Column deleting from Browse

Publicado: Lun Jun 04, 2007 4:37 pm
por ignacio
Gejza,
To erase all the columns call the reset() method.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=466419e0@ozsrv2.ozlan.local...]466419e0@ozsrv2.ozlan.local...[/email]
> Jose,
>
> Is it not possible to delete all columns from browser. The DelCol(1)
> method returns .F., if the browser has 1 column. I'm looking into source
> code, and see the raison:
>
> IF Len( ::aCols ) <= 1 .AND. ! Empty( ::Handle )
> MsgBeep()
> RETURN .F.
> ENDIF
>
> Why isn't enabled deleting the only one column, when the browser can exist
> without columns?
>
>
> Gejza
>