 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
bzburr@yahoo.com.au Guest
|
Posted: Tue Jun 13, 2006 7:38 am Post subject: TListbox multiselect problem |
|
|
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
|
Posted: Tue Jun 13, 2006 8:10 am Post subject: Re: TListbox multiselect problem |
|
|
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
bzburr (AT) yahoo (DOT) com.au wrote:
| 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 |
|
 |
|
|
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
|
|