hi,
how to change the state of a groupview using the mouse/keyboard?
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.
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
-
- Mensajes: 291
- Registrado: Jue Ene 31, 2013 1:10 pm
tlistview
Roberto,
use the TListview:OnKeyDown() event.
Regards,
José Lalín
use the TListview:OnKeyDown() event.
Regards,
José Lalín
tlistview
tks, but how to do that with the mouse?
-
- Mensajes: 291
- Registrado: Jue Ene 31, 2013 1:10 pm
tlistview
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
> 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
-
- Mensajes: 291
- Registrado: Jue Ene 31, 2013 1:10 pm
tlistview
Roberto
use the sample code in the TListview:onColumnClick() event.
Regards,
José Lalín
use the sample code in the TListview:onColumnClick() event.
Regards,
José Lalín