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 02:27:53
 
 
To
13/02/2017 14:30:53
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01647873
Message ID:
01647928
Views:
58
>OK, now for the bizarrely complicated: have a borderless textbox above the editbox (above in z-order!) and move it after every word typed. Whenever a word is finished, add that word to the editbox and move it to the right. Resize to space available - when to the left of a space, just one character wide.

Great input, thanks:)

Hi Dragan, My slighly modified take on your nice proposal, within the context of this limited (only expression-based) scripting:

have a borderless COMBOX above the editbox (above in z-order!), KEEP IT HIDDEN AS DEFAULT, and move it after every word typed. Whenever IS MAKE SENSE FROM A GRAMMAR POV, POP IT UP WITH ADEQUATE CONTENT (DATA-DRIVE à la VFP) , add that word to the editbox IN CASE VALUE IS SELECTED FROM THE POSITIONAL COMBO and move it to the right. Resize to space available - when to the left of a space, just one character wide.

That looks like the pseudocode for this hackish EDITBOX! What is missing, adequate coloring in line with the DSL. That's potentially above VFP. Need to check with Tamar input though:) As I said to her, I'd of course be MUCH more comfortable with, say, pyQT or WXpython than plain old VFP for such venture...

Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform