Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tab order at run-time
Message
 
 
To
31/10/2020 10:27:57
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01676883
Message ID:
01676887
Views:
25
I am not very comfortable with JSON, yet. The speed advantage of the JSON will probably be negligible; compared with possible mistakes I may make.

>It's always nice to be a help. :)
>
>Anyway, try something less space wasting like JSON to store such stuff. Other, ugly, way would be to store it like:
>
>LPARA toParent
>with toParent
>.objx.tabindex = 1
>.obja.tabindex = 2
>.objb.tabindex = 3
>*...
>endwith
>
>and run it in Parents Init like
>
>lcTemp = mMemo
>EXECSCRIPT(m.lcTemp,THIS)
>
>
>No processing at startup - all processing is done while writing this data
>But the storage is a perfect entry point for any hack. ;)
>
>>This sounds like a solution to me. I forgot about the TabIndex property. I can create an XML file listing all controls and the TabIndex for each control. Then, when INIT the window, first check if the XML file exists. And if yes, change the TabIndex of the controls according to the XML file.
>>Thank you!
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform