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 

TListbox multiselect problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language)
View previous topic :: View next topic  
Author Message
bzburr@yahoo.com.au
Guest





PostPosted: Tue Jun 13, 2006 7:36 am    Post subject: TListbox multiselect problem Reply with quote



Hi everyone

have been asked to maintain a Borland Builder 6 application - though im
more used to another environment have been finding Builder quite fun as
a change.

I have run into a problem - in the app there is a form which has an
owerdrawn TListbox (items added dynamically to it also),
I have been asked to change the behaviour of the listbox from a single
select to a multi select
To do this I have set the properties to Multiselect = true and also
extendedselect = true;

The app builds and runs, however after items have been added to the
Tlistbox i cannot seem to get any of the items to highlight when
clicked upon - also the number of selected items is always 0 (checked
this by adding a breakpoint etc in the drawitem code)

I was wondering if anyone had run into this problem. or if anyone could
suggestion a solution

regards

Buzz
Back to top
bzburr@yahoo.com.au
Guest





PostPosted: Tue Jun 13, 2006 8:10 am    Post subject: Re: TListbox multiselect problem Reply with quote



it might also help to know that the tlistbox has 3 columns, a bitmap, a
checkbox and text on each row

I have noticed that the each row clicked on seems to have a "dotted
select" type rectange around the item when clicked, but the listbox
object claims that nothing is selected.

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