|
-
Oct 27th, 2001, 01:57 AM
#1
Thread Starter
Junior Member
listview
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
-
Oct 27th, 2001, 01:59 AM
#2
Frenzied Member
-
Oct 27th, 2001, 02:00 AM
#3
Frenzied Member
after the listiew1.itemclick....like it would be listiew1.itemclick(3) insted of listiew1.itemclick
i think
-
Oct 27th, 2001, 02:10 AM
#4
Thread Starter
Junior Member
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.
-
Oct 27th, 2001, 02:14 AM
#5
Frenzied Member
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
-
Oct 27th, 2001, 02:24 AM
#6
Thread Starter
Junior Member
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
-
Oct 27th, 2001, 02:36 AM
#7
Frenzied Member
ok ur saying when u clck the students name (like John White) it will check the chech box?
-
Oct 27th, 2001, 02:39 AM
#8
Thread Starter
Junior Member
yes, cos the checkbox is a icon picture.
-
Oct 27th, 2001, 02:47 AM
#9
PowerPoster
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.
-
Oct 27th, 2001, 02:49 AM
#10
PowerPoster
Originally posted by Motoxpro
ok ur saying when u clck the students name (like John White) it will check the chech box?
He means that when you click on the checkbox, something happens. You can't have that kind of action a listview.
-
Oct 27th, 2001, 02:50 AM
#11
Thread Starter
Junior Member
wah simple and great solutions.
Thanks a lot for all u ....
-
Oct 27th, 2001, 02:55 AM
#12
Frenzied Member
-
Oct 27th, 2001, 03:15 AM
#13
PowerPoster
-
Oct 27th, 2001, 03:19 AM
#14
Frenzied Member
hehe i know i didnt doo anything
-
Oct 27th, 2001, 03:22 AM
#15
PowerPoster
Originally posted by Motoxpro
hehe i know i didnt doo anything
I did not mean that
-
Oct 27th, 2001, 03:25 AM
#16
Frenzied Member
-
Oct 27th, 2001, 03:27 AM
#17
PowerPoster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|