BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TListView and FullDrag

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Francois Charton
Guest





PostPosted: Thu Jul 24, 2003 12:39 pm    Post subject: TListView and FullDrag Reply with quote



Hello,

I am using a TListView, with property FullDrag set to true, which allows the
user to reorder the columns as he sees fit.

I would like to prevent this column dragging for the first column in the
list, ie I can drag any column, but the first one always stays in place.
Practically it means that the user cannot drag column 0, or cannot drag any
other column left of column 0.

How can I do this?

Can I intercept and modify the "drag message" when the column is being moved
(so that I can prevent movement of column 0), and modify the target column
of the move?
Or, how can I move columns programmatically?

Thanks in advance
Francois


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) 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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.