![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
I have been looking at reworking parts of my app. 1) If I have a form written in code, is there any way I can get the return value from the form's .unload()? |
|
2) As it stands now, my forms are modal. I am looking at changing this. I have a few variables that I use for object references. If I allow multiple forms to be open, that will mean that I will have to have more than one object variable. |
|
Would I be exposing my app to memory leak problems? |
|
What is the best way of managing multiple objects when some can be started from inside others? I want to avoid globals and other object internals if possible. |
#3
| |||
| |||
|
|
"Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote in message news:msoke1t46kcmtbpp6jh3khde1slssiimoc (AT) 4ax (DOT) com... I have been looking at reworking parts of my app. 1) If I have a form written in code, is there any way I can get the return value from the form's .unload()? method someform.unload: RETURN 3 DO someform TO myvar |
|
myvar now has 3 in it |
#4
| |||
| |||
|
|
I have been looking at reworking parts of my app. 1) If I have a form written in code, is there any way I can get the return value from the form's .unload()? 2) As it stands now, my forms are modal. I am looking at changing this. I have a few variables that I use for object references. If I allow multiple forms to be open, that will mean that I will have to have more than one object variable. Would I be exposing my app to memory leak problems? What is the best way of managing multiple objects when some can be started from inside others? I want to avoid globals and other object internals if possible. Sincerely, Gene Wirchenko |
#5
| |||
| |||
|
|
On Fri, 29 Jul 2005 11:17:38 -0700, "Paul Pedersen" no-reply (AT) swen (DOT) com> wrote: "Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote in message news:msoke1t46kcmtbpp6jh3khde1slssiimoc (AT) 4ax (DOT) com... I have been looking at reworking parts of my app. 1) If I have a form written in code, is there any way I can get the return value from the form's .unload()? method someform.unload: RETURN 3 DO someform TO myvar This syntax is not correct. If you are thinking of do form someform to myvar that only works with scx-based forms. I already tried it, found it did not work, and thus my question. |
#6
| |||
| |||
|
|
I have been looking at reworking parts of my app. 2) As it stands now, my forms are modal. I am looking at changing this. I have a few variables that I use for object references. If I allow multiple forms to be open, that will mean that I will have to have more than one object variable. Would I be exposing my app to memory leak problems? What is the best way of managing multiple objects when some can be started from inside others? I want to avoid globals and other object internals if possible. |
#7
| |||
| |||
|
|
On Fri, 29 Jul 2005 11:17:38 -0700, "Paul Pedersen" no-reply (AT) swen (DOT) com> wrote: "Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote in message news:msoke1t46kcmtbpp6jh3khde1slssiimoc (AT) 4ax (DOT) com... I have been looking at reworking parts of my app. 1) If I have a form written in code, is there any way I can get the return value from the form's .unload()? method someform.unload: RETURN 3 DO someform TO myvar This syntax is not correct. If you are thinking of do form someform to myvar that only works with scx-based forms. I already tried it, found it did not work, and thus my question. |
![]() |
| Thread Tools | |
| Display Modes | |
| |