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.

tlistview

Xailer English public forum
Responder
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

tlistview

Mensaje por Roberto »

hi,
how to change the state of a groupview using the mouse/keyboard?
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

tlistview

Mensaje por Roberto »

no answer?
joselalinf
Mensajes: 291
Registrado: Jue Ene 31, 2013 1:10 pm

tlistview

Mensaje por joselalinf »

Roberto,
use the TListview:OnKeyDown() event.
Regards,
José Lalí­n
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

tlistview

Mensaje por Roberto »

tks, but how to do that with the mouse?
joselalinf
Mensajes: 291
Registrado: Jue Ene 31, 2013 1:10 pm

tlistview

Mensaje por joselalinf »

Roberto,
> tks, but how to do that with the mouse?
oItem := ::oListView:GetFocused()
IF oItem != Nil
oItem:lChecked := !oItem:lChecked
ENDIF
In sampleslistview there are some samples showing how to use the control.
Regards,
José Lalí­n
joselalinf
Mensajes: 291
Registrado: Jue Ene 31, 2013 1:10 pm

tlistview

Mensaje por joselalinf »

Roberto
use the sample code in the TListview:onColumnClick() event.
Regards,
José Lalí­n
Roberto
Mensajes: 177
Registrado: Mar Oct 16, 2007 11:53 pm

tlistview

Mensaje por Roberto »

tks, again, but I don´t want to show it in columns.
Responder