My example was not a for locating an item in the listbox. My example was for
only allowing the user to select an item in the combobox and not type an
item of their own. Can't help you with the other as I have not implemented
such an example.
Eric
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan
Southwick
Sent: Thursday, April 13, 2000 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui] ComboBox Dropdown
Eric,
Thanks. That is a temporary solution but maybe what I was wanting isn't
possible. What I want is for the user to be able to type each letter of the
word and have the word appear in the combobox as they type. For instance:
The ComboBox contains the following items:
Baldwin
Brooks
Caflish
College Court
Crawford
Edwards
Ravine
...
Now what I want is for the user to be able to start typing, for instance
"Baldwin" and since it is the first item in the "B's" it will appear but if
they type "Br", "Brooks" shows up.
The example you gave me brings up "Ravine" if "Br" is typed.
So anyway, is it at all possible to do what I want?
Jonathan
--------------------------------------------------------------
Jonathan Southwick [EMAIL PROTECTED]
Technical and Network Services
Allegheny College
Meadville, PA 16335 814-332-2755
----- Original Message -----
From: "Eric C. Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 4:02 PM
Subject: RE: [perl-win32-gui] ComboBox Dropdown
> Yes, use 3 as the following example shows...
>
> $Shipper = $W->AddCombobox(-name => "Shipper",
> -left => 70,
> -top => 375,
> -style => WS_VISIBLE | 3 | WS_VSCROLL | WS_TABSTOP,
> -height => 100,
> -width => 100 );
>
>
> Eric Hansen
> Dallas, Texas U.S.A
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan
> Southwick
> Sent: Thursday, April 13, 2000 2:59 PM
> To: Perl Help
> Subject: [perl-win32-gui] ComboBox Dropdown
>
>
> Is there anyway to restrict input in a combobox dropdown list to only the
> items in the list. OR is there anyway to allow the combobox to
autocomplete
> what a user types based on the items in the list?
>
> Jonathan
> --------------------------------------------------------------
> Jonathan Southwick [EMAIL PROTECTED]
> Technical and Network Services
> Allegheny College
> Meadville, PA 16335 814-332-2755
>
>
>
>
>