Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - textbox auto complete?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

textbox auto complete?

 Post Reply Post Reply
Author
Message Reverse Sort Order
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Topic: textbox auto complete?
    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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
juma View Drop Down
Groupie
Groupie


Joined: 06 March 2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote juma Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2011 at 7:27pm
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
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

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

Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
juma View Drop Down
Groupie
Groupie


Joined: 06 March 2011
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote juma Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.