textbox auto complete? |
Post Reply |
Author | |
juma
Groupie Joined: 06 March 2011 Status: Offline Points: 14 |
Post Options
Thanks(0)
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 |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
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 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 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 |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
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 |
|
juma
Groupie Joined: 06 March 2011 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
nice sample, Thanks i was looking for something like this.
|
|
Product: Xtreme SuitePro (ActiveX) version 13.4.1
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
Thank jbpro.
My sample work in according to request post.
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.
|
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |