How and where to place returncode for a form or dialog ?
-
Hi everybody, I want to return a result from a client form or dialog (no standard results like dialogresult.OK or somthink like that) but my own resultcodes. In which memberfunc. do I have to place the (return)code so that the calling parent can get the returnresult. Is it only possible with dialogs or in forms too. Thank you for helping. fracalifa
-
Hi everybody, I want to return a result from a client form or dialog (no standard results like dialogresult.OK or somthink like that) but my own resultcodes. In which memberfunc. do I have to place the (return)code so that the calling parent can get the returnresult. Is it only possible with dialogs or in forms too. Thank you for helping. fracalifa
If you call a dialog or form from the parent, that dialog or form won't be destroyed until the calling function ends, or you explicitly call the destructor. This means that any variables, or functions, will still be accessible. Just call a public function to get return values, or make the variables public. - D