Página 1 de 1
tlistview
Publicado: Vie Ago 23, 2013 5:18 pm
por Roberto
hi,
how to change the state of a groupview using the mouse/keyboard?
tlistview
Publicado: Mar Ago 27, 2013 5:25 am
por Roberto
no answer?
tlistview
Publicado: Mar Ago 27, 2013 1:45 pm
por joselalinf
Roberto,
use the TListview:OnKeyDown() event.
Regards,
José Lalín
tlistview
Publicado: Mar Ago 27, 2013 2:16 pm
por Roberto
tks, but how to do that with the mouse?
tlistview
Publicado: Mar Ago 27, 2013 2:43 pm
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
tlistview
Publicado: Mar Ago 27, 2013 2:44 pm
por joselalinf
Roberto
use the sample code in the TListview:onColumnClick() event.
Regards,
José Lalín
tlistview
Publicado: Mar Ago 27, 2013 4:21 pm
por Roberto
tks, again, but I don´t want to show it in columns.