Home All Groups Group Topic Archive Search About
Author
13 Mar 2006 8:32 AM
Roberto
Hi,

using vb 2005 I'd like to have a combobox in READONLY mode, like I have for
textbox.
Combobox only has enabled property. When I turn this property false I can
not select the text in the combo.

Has anyone solved this problem?

Thanks

Author
13 Mar 2006 12:35 PM
Kerry Moorman
Roberto,

Set the combobox's DropDownStyle to DropDownList.

Kerry Moorman


Show quoteHide quote
"Roberto" wrote:

> Hi,
>
> using vb 2005 I'd like to have a combobox in READONLY mode, like I have for
> textbox.
> Combobox only has enabled property. When I turn this property false I can
> not select the text in the combo.
>
> Has anyone solved this problem?
>
> Thanks
Author
13 Mar 2006 12:49 PM
Roberto
Dear Kerry,

thanks for your reply, buti it is not what I'm asking for...maybe my
question was not well explained!

I need a combox in readonly mode from which I don't have to select, but from
which I can highlight text. Taht's what I'm looking for!

Thanks



Show quoteHide quote
> Roberto,
>
> Set the combobox's DropDownStyle to DropDownList.
>
> Kerry Moorman
>
>
> "Roberto" wrote:
>
> > Hi,
> >
> > using vb 2005 I'd like to have a combobox in READONLY mode, like I have for
> > textbox.
> > Combobox only has enabled property. When I turn this property false I can
> > not select the text in the combo.
> >
> > Has anyone solved this problem?
> >
> > Thanks
Author
13 Mar 2006 3:01 PM
Kerry Moorman
Roberto,

I don't understand what you are asking for.

Perhaps you can give an example of what would be in the combobox and how you
want the user to be able to interact with the combobox.

Kerry Moorman


Show quoteHide quote
"Roberto" wrote:

> Dear Kerry,
>
> thanks for your reply, buti it is not what I'm asking for...maybe my
> question was not well explained!
>
> I need a combox in readonly mode from which I don't have to select, but from
> which I can highlight text. Taht's what I'm looking for!
>
> Thanks
>
>
>
> > Roberto,
> >
> > Set the combobox's DropDownStyle to DropDownList.
> >
> > Kerry Moorman
> >
> >
> > "Roberto" wrote:
> >
> > > Hi,
> > >
> > > using vb 2005 I'd like to have a combobox in READONLY mode, like I have for
> > > textbox.
> > > Combobox only has enabled property. When I turn this property false I can
> > > not select the text in the combo.
> > >
> > > Has anyone solved this problem?
> > >
> > > Thanks
Author
13 Mar 2006 3:17 PM
Roberto
I need a readonly property for ComboBox, similar to the read-only property of
a textbox.

In essence, make a combobox readonly...making the combobox text not gray out
but be disabled.  There is no readonly property for a combobox like there is
for a text box.

Thanks


Show quoteHide quote
"Kerry Moorman" wrote:

> Roberto,
>
> I don't understand what you are asking for.
>
> Perhaps you can give an example of what would be in the combobox and how you
> want the user to be able to interact with the combobox.
>
> Kerry Moorman
>
>
> "Roberto" wrote:
>
> > Dear Kerry,
> >
> > thanks for your reply, buti it is not what I'm asking for...maybe my
> > question was not well explained!
> >
> > I need a combox in readonly mode from which I don't have to select, but from
> > which I can highlight text. Taht's what I'm looking for!
> >
> > Thanks
> >
> >
> >
> > > Roberto,
> > >
> > > Set the combobox's DropDownStyle to DropDownList.
> > >
> > > Kerry Moorman
> > >
> > >
> > > "Roberto" wrote:
> > >
> > > > Hi,
> > > >
> > > > using vb 2005 I'd like to have a combobox in READONLY mode, like I have for
> > > > textbox.
> > > > Combobox only has enabled property. When I turn this property false I can
> > > > not select the text in the combo.
> > > >
> > > > Has anyone solved this problem?
> > > >
> > > > Thanks
Author
13 Mar 2006 7:14 PM
Cor Ligthert [MVP]
Roberto,

Sorry I thought as well that Kerry had answered your question in his first
reply

Did you try what he told.

Cor
Author
14 Mar 2006 11:21 AM
Eric Moreau
See an article I wrote in July 2005 from http://emoreau.s2i.com/

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

Show quoteHide quote
"Roberto" <Robe***@discussions.microsoft.com> wrote in message
news:185033C9-0BAB-44D1-9A3A-037D14213DE4@microsoft.com...
>I need a readonly property for ComboBox, similar to the read-only property
>of
> a textbox.
>
> In essence, make a combobox readonly...making the combobox text not gray
> out
> but be disabled.  There is no readonly property for a combobox like there
> is
> for a text box.
>
> Thanks
>
>
> "Kerry Moorman" wrote:
>
>> Roberto,
>>
>> I don't understand what you are asking for.
>>
>> Perhaps you can give an example of what would be in the combobox and how
>> you
>> want the user to be able to interact with the combobox.
>>
>> Kerry Moorman
>>
>>
>> "Roberto" wrote:
>>
>> > Dear Kerry,
>> >
>> > thanks for your reply, buti it is not what I'm asking for...maybe my
>> > question was not well explained!
>> >
>> > I need a combox in readonly mode from which I don't have to select, but
>> > from
>> > which I can highlight text. Taht's what I'm looking for!
>> >
>> > Thanks
>> >
>> >
>> >
>> > > Roberto,
>> > >
>> > > Set the combobox's DropDownStyle to DropDownList.
>> > >
>> > > Kerry Moorman
>> > >
>> > >
>> > > "Roberto" wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > using vb 2005 I'd like to have a combobox in READONLY mode, like I
>> > > > have for
>> > > > textbox.
>> > > > Combobox only has enabled property. When I turn this property false
>> > > > I can
>> > > > not select the text in the combo.
>> > > >
>> > > > Has anyone solved this problem?
>> > > >
>> > > > Thanks