Print Page | Close Window

textbox auto complete?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18074
Printed Date: 22 November 2024 at 12:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: textbox auto complete?
Posted By: juma
Subject: textbox auto complete?
Date Posted: 19 March 2011 at 8:38am
Does your textbox support that, and if it does not how can we simulate it (like google search page)?

-------------
Product: Xtreme SuitePro (ActiveX) version 13.4.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: gibra
Date Posted: 22 March 2011 at 1:54pm
What is the source of data?
Table, file, array, ...


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8


Posted By: jpbro
Date Posted: 22 March 2011 at 2:09pm
I requested that the CJ ComboBox  support simple style (no drop-down button displayed) in Office2007 mode, which would give us the benefit of autocomplete, styling, and just looking like a FlatEdit control instead of a ComboBox, but no luck :(

http://forum.codejock.com/forum_posts.asp?TID=16231 - http://forum.codejock.com/forum_posts.asp?TID=16231

It would be a nice addition if anyone from CJ happens to be reading this ;)

Or is there some other way to hide the ComboBox button (and prevent the drop-down menu from showing with F4 or other accelerators keys)?




-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: gibra
Date Posted: 22 March 2011 at 7:27pm
Like this?
 
 
 
http://forum.codejock.com/uploads/4669/CJ13.4.0_SearchingFlatEditLikeGoogle.zip - uploads/4669/CJ13.4.0_SearchingFlatEditLikeGoogle.zip
 
 


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8


Posted By: juma
Date Posted: 24 March 2011 at 8:27pm
nice sample, Thanks i was looking for something like this. Clap

-------------
Product: Xtreme SuitePro (ActiveX) version 13.4.1
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0


Posted By: jpbro
Date Posted: 25 March 2011 at 9:03am
Nice demo gibra!

I would still prefer if there was a way to use the ComboBox Autocomplete to do this (with a hidden drop-down button), for a couple of reasons:

1) The CB drop-down menu floats over the form, so it can extend off the client area of the form.
2) We don't have to maintain an array of entries - the ComboBox has all of the items in its list

But I appreciate the demo - maybe I'll expand it a bit to do what I need without the ComboBox and post it back here (if I can find the time).




-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: gibra
Date Posted: 25 March 2011 at 3:58pm
Thank jbpro.
 
My sample work in according to request post. LOL
 
However, we can use a combobox, too.
All depends from 'how' you want to implement the behavoir of combobox.
I.e.:
- the dropdown window must be filled, and resized, 'dynamically' (as the textbox sample)?
- in the edit, you want see 'the first occurence', or only the typed text?
 
Explain better your needs. Smile


-------------
gibra
CJ SuiteControl v: 13.x to 19.x
Windows 10 64bit
VS2019 - VB6.0 SP6
<a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net