Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create simple autocomplete form
Message
From
20/12/2013 13:39:50
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590652
Message ID:
01590732
Views:
132
>>*I rarely use public in production, but without it, this sample will end as soon as it reaches the last line of code.
>>
>>Public oForm
>>oForm = Createobject('AutoCompleteCountrySample')
>>oForm.Show
>
>
>Shame on you Mike, you do not *NEED* a public variable, a local variable and a modal form would have done it just right for this example :P
>
>
>LOCAL oForm
>oForm = Createobject('AutoCompleteCountrySample')
>oForm.Show(1)
>
I would not use the silly modal form approach either.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform