forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Another VDSLISTS Query

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Product Support
View previous topic :: View next topic  
Author Message
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Fri Jan 10, 2003 12:57 pm    Post subject: Another VDSLISTS Query Reply with quote

I have been playing with the COLLIST element of the VDSLISTS.DLL and have come across a problem:-

Code:
COLLIST1DBLCLICK
  %A = @EXTLIST(LIST,INDEX,COLLIST1)
  %B = @EXTLIST(LIST,ITEM,COLLIST1)


If anything other than Column 0 is double Clicked, %A is equal to -1 and %B is NULL

If Column 0 is double-clicked then %A returns the correct index number and %B contains the complete text of the row with @TAB() between each field. Which is what I want, but ideally this should happen on whichever column is double-clicked surely?

Or do I mis-understand?


Thanks in advance

_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 739
Location: The Netherlands

PostPosted: Fri Jan 10, 2003 6:31 pm    Post subject: Reply with quote

I'm afraid this is a characteristic of the listview (collist) control.

The @EXTLIST(LIST,INDEX) and @EXTLIST(LIST,ITEM) functions return the current information
index, not the information related to the event that occurred last...

If someone clicks on a column other than the first column, this will cause the item to be
unselected so that both functions will state that no item was selected too.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
arcray
Valued Contributor
Valued Contributor


Joined: 13 Jul 2001
Posts: 242
Location: Aude, France

PostPosted: Sat Jan 11, 2003 10:16 am    Post subject: Reply with quote

That's OK. As long as I know. It is fairly simple to put an INFO up when %A = -1 telling the user to click on the first column...
_________________
Andrew GRAY
If you don't know I am looking for work, I won't get the job.

andrewrcgray.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Product Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group