General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only