hei guys,
for the listview control, the itemclick event is activated only when the first colum item is clicked. How do I activate the event, if the third column item is clicked?
Thanks
Printable View
hei guys,
for the listview control, the itemclick event is activated only when the first colum item is clicked. How do I activate the event, if the third column item is clicked?
Thanks
put a (3) after the it
after the listiew1.itemclick....like it would be listiew1.itemclick(3) insted of listiew1.itemclick
i think
thanks for the reply.
the problem that i faced with listview is
the event is activated when i click the first colum of the item.
I want it to be activated when i click on the third column of the item.
the coding that u suggest is to call the item_click event.
i thought that is what you wanted...you will have to explane it to me a little better....sometimes it tae me a little while to understand things
like shown in the picture.
when i click on the student name, i able to change the checkbox on the third column,
what i want to do is to click on the checkbox(is a icon picture) on the third and change the icon picture accordingly.
Thanks alot
ok ur saying when u clck the students name (like John White) it will check the chech box?
yes, cos the checkbox is a icon picture.
My Opinion:
It is impossible to select the column other than first one. You can make the listview select the whole row when any of the item in any of the columns is clicked. To do that, you need a listview version 6.0, then you put the following code in:
VB Code:
ListView1.FullRowSelect = True
You won't find this property if you have an older version.
He means that when you click on the checkbox, something happens. You can't have that kind of action a listview.Quote:
Originally posted by Motoxpro
ok ur saying when u clck the students name (like John White) it will check the chech box?
wah simple and great solutions.
Thanks a lot for all u ....
your welcome
:eek: :D:oQuote:
Originally posted by Motoxpro
your welcome
hehe i know i didnt doo anything :)
I did not mean that;)Quote:
Originally posted by Motoxpro
hehe i know i didnt doo anything :)
what did u mean?
:eek:
You said welcome
:D
Common smilie
:o
I forgot to say welcome
:D