In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Column deleting from Browse

Xailer English public forum
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

Column deleting from Browse

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9441
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Column deleting from Browse

Mensaje 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
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder