how to create popup while typing

bhavin12300

Active member
Joined
Sep 18, 2007
Messages
44
Programming Experience
Beginner
hi
can anyone tell me how to add automatic pop up with name in it.
the name in popup must be corresponding to the letter typed already before.


this is like vb.net ide in which after typing some letter of the word,ide automatically popup the small window besides it indicating corresponding word related to the letter already type. so we can select it with cursor.
can anyone help me how to do that?
 
The ComboBox control already has this built in, see the AutoComplete properties in documentation.
 
In case you're not interested in Combobox control but instead perhaps a RichTextBox control (RTB) you have to create a new form and functionality yourself. This is quite easy, you just need to utilize a handful of the RTB class members. I took the liberty of preparing a basic sample, it is suitable for the absolute beginner so I don't think any explanations of this is necessary. Type some text in RTB of main form and see each word bounce to the popup form as you write.
 

Attachments

  • vbnet20-ctwin.zip
    16.1 KB · Views: 17
Back
Top