SV: O$: Change to modelessdata
Hi Xavier
I am also doing this change to modeless enter data.
I find it so much easier not having to compensate for numerous Enter data commands
Behind the Edit-button have the code “Enable fields” and enable what has to be enabled.
The Edit-button is the “Enter data” command.
Behind Ok and Cancel button call the appropriate method (YesUpdate or NoUpdate).
If default mode of Ok and Cancel are used use a $control-method to call appropriate method.
Disable fields when user is done.
All windows can in this way function independently of each other.
Well, they could before also…
regards
Daniel Sananés
—–Ursprungligt meddelande—–
Från: omnisdev-en [mailto:omnisdev-en-bounces@lists.omnis-dev.com] För IT
Skickat: den 14 september 2017 10:06
Till: OmnisDev List – English <omnisdev-en@lists.omnis-dev.com>
Ämne: O$: Change to modelessdata
Hi,
I have an application that i am changing from single window enter data to multi window modeless enter data.
Now, most windows are using the old enter data command following next code example very simplified:
Method ***EDIT***
Enter Data
If flag true
Do ivRow.$dowork()
Else
Do ivRow.$undowork()
End If
Do $cwind.$redraw()
Any advice to change from Enter Data paradigm to modeless enter data ?
Thanks
xavier
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com