Kevin,

No, AutoCompleteTable cannot point to a cursor -- you must point it to an
actual table. I suspect that VFP handles the opening of the table as needed
in a hidden, private data session and does not allow you to point it to
anything other than a table that it can open.

As for your other very interesting questions, I have no idea, but it sounds
like you might have fun experimenting.

Here is one of Calvin's blog entries that involves looking at the
autocomplete table as it's changing...

http://blogs.msdn.com/calvin_hsia/archive/2005/08/04/447735.aspx

David Stevenson 
http://www.talkingfox.blogspot.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Kevin Cully
Sent: Monday, July 02, 2007 3:00 PM
To: [EMAIL PROTECTED]
Subject: Autocomplete Textbox

My client is wanting more "Access" like functionality out of their
application.  They used to have a textbox with Autocomplete like
functionality where they would type and it would complete that field for
them.  That worked fine when they had 100s of values, but now they are
in the 1000s and are on their way up.

Can I have the MyTextbox.AutoCompTable point to a cursor?  Perhaps in
the INIT of the Textbox put a THIS.AutoCompTable = DBF('MyCursorName')

Can I manipulate the contents of that cursor during the
MyTextbox.InteractiveChange method to call out to something that zaps
and repopulates that cursor?

Eventually, I'd like to sublcass a textbox to encapsulate some of this
functionality.

So far, my tests aren't working at all.  No popup is showing up.

-- 
-Kevin
CULLY Technologies, LLC

Sponsor of FoxForward 2007
foxforward.net



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to