Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding some sort of intellisense to VFP editboxes
Message
From
14/02/2017 12:17:20
 
 
To
13/02/2017 07:07:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01647873
Message ID:
01647951
Views:
61
>Hi all of you VFP die-hards and gurus,
>
>I am currently in the process of adding some scripting to a good old "plain-vanilla" (well nearly so...) VFP application. The text parsing functionality - pretty simple - was no problem. The grammar is indeed pretty simple.
>
>Now come the time to enhance the user-experience when they build the scripts - it's an expression language not a full interpreter of course. At the current junction, bringing some sort of intellisense/autocompletion to the editbox where type occurs would be a great addition.
>
>Any idea how this could be performed in a decently "simple" way? What is needed? Some sort of autocomplete à la notepad++ (see attachment).
>
>A this stage, I am not looking to import the VFP smart command editing language functionality at all. We'd just be glad to find some quick fix that would reduce users typing would be great! We try to avoid heavy dependencies on this very compact application, so no smart solution that would involve smart DSL design is in the pipe nor using external widgets. Just plain hacking of the vfp toolset to enhance the user-experience:)
>
>Any feedback welcome.
>
>Daniel


Daniel,
If you like the functionality of Notepad++ to be used as your Editor in VFP, you may explore an article by Yousfi: http://yousfi.over-blog.com/2016/02/using-notepad-with-visual-foxpro-as-real-editor.html
Please bear in mind, I have not tested Yousfi's code yet and also I find the 'intelligence' of Notepad++ discutable, it only shows you to complete words, which are already in your text. So e.g. when you type in Notepad++:
This is missing and it should not be m
at that point Notepad shows missing, not a very big help, however no help is nothing.
Goodluck with Yousfi's code
Regards,
Koen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform