Trying to Imitation IE 5 text box 
Author Message
 Trying to Imitation IE 5 text box

Hello:

   I am trying to re-create the new behavior of IE 5.0 text boxes.  When you
click on the text box a drop down of saved values appear.  When you type,
the drop down list values are eliminated to match the value of what you are
typing.

I have a text box with a combo box hidden behind it.  When I click on the
text box I use the SendMessage api to drop down the combo box.  I am not
sure how to re-create the part where the values are eliminated as I type.

If anyone has suggestions I would greatly appreciate it.

Cindy



Sat, 09 Feb 2002 03:00:00 GMT  
 Trying to Imitation IE 5 text box
cynthia:
    i assume you're trying to emulate the actions of the ie address/cool bar
control and writing your own browser.  well, i would suggest using the
selStart, selText and selLength in conjunction with the len() function and
match the text that the user has typed with an array of existing values that
the typed values can be compared to.

cya!

Joey :-)

Quote:

>Hello:

>   I am trying to re-create the new behavior of IE 5.0 text boxes.  When
you
>click on the text box a drop down of saved values appear.  When you type,
>the drop down list values are eliminated to match the value of what you are
>typing.

>I have a text box with a combo box hidden behind it.  When I click on the
>text box I use the SendMessage api to drop down the combo box.  I am not
>sure how to re-create the part where the values are eliminated as I type.

>If anyone has suggestions I would greatly appreciate it.

>Cindy



Mon, 11 Feb 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ie AutoCoplete in a text box or text area

2. 2101 error when trying to set Left property on text box

3. Newbie trying to print multiline text box

4. Error trying to link up combo and text box

5. I'm trying to print a text box

6. Error trying to link up Combo and Text boxes

7. Trying again - Rich Text Box assistance needed ..

8. Q: Trying to update a Text Box while Importing

9. Invalid Property when trying to populate msmask16 text box to today

10. Error trying to link up Combo and Text boxes

11. Error trying to link up Combo and Text boxes

12. Text Boxes Appear 2D in UserControl Hosted By IE

 

 
Powered by phpBB® Forum Software