Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding some sort of intellisense to VFP editboxes
Message
De
14/02/2017 02:27:53
 
 
À
13/02/2017 14:30:53
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01647873
Message ID:
01647928
Vues:
59
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform