Suggestions under a text box - Trick

Use this board to post your code snippets - tips and tricks
9 posts Page 1 of 1
Contributors
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Hello,

I want to share a trick where you can make suggestions show up under a textbox as you type. Many people talk about this, and I just now figured it out. It is quite easy.

Step 1:
Change AutoCompleteCustom to any text you want.
Image

Image

Step 2:
Change AutoCompleteMode to Suggest.
Image

Step 3:
Change AutoCompleteSource to Custom Source.
Image


What you just did was tell Visual Basic to make TextBox1 to show suggestions when you type, and get the suggestions from the text you typed in step 1.

+rep if I helped! :D

~GoodGuy17 :D
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Thats a kinda old trick XD
http://vagex.com/?ref=25000
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Append is better for using in web browsers, you know. Anyways, nice tutorial but not the best lol. Nice job!
Image
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

@Axel I know it is old, but some people don't know about it, so I thought I would post it here.
@Usman I tried append, but it seemed annoying to me, but it is all opinion. I tried pushing in a lot of images to make the tutorial better, and give a brief explanation.
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1891
Joined: Wed Dec 16, 2009 9:56 pm

ooh never new this this is very cool good for browsers.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
Danny
VIP - Donator
VIP - Donator
Posts: 621
Joined: Sat Oct 30, 2010 8:21 pm

great =D
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Off topic,
Your DP is really funny lol
You're crazy!
I'm not crazy, my mother had me tested. ~Sheldon Cooper
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

Thanks ,, i know this ,, but how i want this in richtextbox Multiline ( i mean if you highlight for example "www.gogle.com" it suggest "www.google.com" i want it to suggest in another form or like the normal way

i know how to make custom source ::

-Sorry For my Bad English

Thanks

Example : Lock at J-Pad in Utube
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

CleverBoy wrote:
Thanks ,, i know this ,, but how i want this in richtextbox Multiline ( i mean if you highlight for example "www.gogle.com" it suggest "www.google.com" i want it to suggest in another form or like the normal way

i know how to make custom source ::

-Sorry For my Bad English

Thanks

Example : Lock at J-Pad in Utube
I'm sorry (and no offense), but I cannot understand. Can you tell me again?
9 posts Page 1 of 1
Return to “Quick Snips”