Dr. Robert-Andreas Schöning
Forum Replies Created
-
Dr. Robert-Andreas Schöning
MemberJune 17, 2024 at 10:01 am in reply to: remote subforms inside objectsHi Martin,
the subform initializes whe the tab becomes visible.
My approch: The button click sets the panes $currentpage to 2 -> the subform initializes
Hava a method in the container form that does the initializing e.g. $initsubform
In your subform:
– Have a Method e.g. $getData where you call $cinst().$container().$initSubform
– Override method $loadfinised()
– Call $getData() from there to get all you need from the Container form
Regards
Robert
-
Dr. Robert-Andreas Schöning
MemberNovember 7, 2022 at 10:52 pm in reply to: Changing number formats in text boxesHi Allan
Are you sure you were using the notation starting with
Do $ctask.$objs?
To address fields in a remote form you should use $cinst.$objs instead , as the the other one addresses the remote task.
Regards
Robert
-
Dr. Robert-Andreas Schöning
MemberJuly 19, 2024 at 9:46 am in reply to: remote subforms inside objectsHi Martin,
the subwindowfields $classname mus be assigned on the fly, otherwise it is already instanciated.
I attached an example for you.
Regards Robert