ImageCombo and locking list

ImageCombo and locking list

Anonymous
Not applicable
237 Views
3 Replies
Message 1 of 4

ImageCombo and locking list

Anonymous
Not applicable
I am working with an ImageCombo control so I can include a list as well as
images but I am not able to lock the list so that the user can only select
the items in the list as defined by the program. I can Lock the list but I
then cannot edit the current text and the text and image always highlight
when selecting.

Is there a way to set the ImageCombo items so the user can only pick the
predefined list items and not type them in. I was using Combo control and
there was an option to set STYLE = 2 (dropdown list). I don't see this for
ImageCombo.

Am I missing something or do I need a different control?

--
|
-+-------------------------------------------------
| Rob Starz
| Stardsign cad solutions
| iC - AEC Information Center
| www.stardsign.com/aecic.html
| free ADT and Building Systems tools
| *******LayerX available Now*************
| www.stardsign.com/layerx.htm
| Easter Egg Hunt.....win a free version of LayerX
0 Likes
238 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Hi Rob,

Try using a Listbox rather than a ComboBox.

As far as I've investigated, nothing changes but:
the appearance of the control when it is dropped into the Form
and
you can no longer type into it.

--




Laurie Comerford
CADApps
www.cadapps.com.au

"Rob Starz" wrote in message
news:6FF5DE2F09FFE39B950D51E1D3CD252E@in.WebX.maYIadrTaRb...
> I am working with an ImageCombo control so I can include a list as well as
> images but I am not able to lock the list so that the user can only select
> the items in the list as defined by the program. I can Lock the list but
I
> then cannot edit the current text and the text and image always highlight
> when selecting.
>
> Is there a way to set the ImageCombo items so the user can only pick the
> predefined list items and not type them in. I was using Combo control and
> there was an option to set STYLE = 2 (dropdown list). I don't see this
for
> ImageCombo.
>
> Am I missing something or do I need a different control?
>
> --
> |
> -+-------------------------------------------------
> | Rob Starz
> | Stardsign cad solutions
> | iC - AEC Information Center
> | www.stardsign.com/aecic.html
> | free ADT and Building Systems tools
> | *******LayerX available Now*************
> | www.stardsign.com/layerx.htm
> | Easter Egg Hunt.....win a free version of LayerX
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
I am talking about IMAGECOMBO not Combo that allows you to add images to the
combo list. An example of an ImageCombo is the Drives available when you do
a save...The SAVE IN is a ImageCombo with pictures and indents. I can't see
how to lock the list so the user can't edit. I could but if I lock it I
can't have another control modify the selected item. I will do some more
investigating....maybe I am missing something obvious.

--
|
-+-------------------------------------------------
| Rob Starz
| Stardsign cad solutions
| iC - AEC Information Center
| www.stardsign.com/aecic.html
| free ADT and Building Systems tools
| *******LayerX available Now*************
| www.stardsign.com/layerx.htm
| Easter Egg Hunt.....win a free version of LayerX
0 Likes
Message 4 of 4

Anonymous
Not applicable
Sure you can, lock it down by using a run time lock engaged by a mouse event
or keydown. This way it is only locked when the user is trying to interact
with it, not when your code wants to change it.

Richard Binning

"Rob Starz" wrote in message
news:6E0454203965E6AE1B1678052600474D@in.WebX.maYIadrTaRb...
> I am talking about IMAGECOMBO not Combo that allows you to add images to
the
> combo list. An example of an ImageCombo is the Drives available when you
do
> a save...The SAVE IN is a ImageCombo with pictures and indents. I can't
see
> how to lock the list so the user can't edit. I could but if I lock it I
> can't have another control modify the selected item. I will do some more
> investigating....maybe I am missing something obvious.
>
> --
> |
> -+-------------------------------------------------
> | Rob Starz
> | Stardsign cad solutions
> | iC - AEC Information Center
> | www.stardsign.com/aecic.html
> | free ADT and Building Systems tools
> | *******LayerX available Now*************
> | www.stardsign.com/layerx.htm
> | Easter Egg Hunt.....win a free version of LayerX
>
>
0 Likes