Re: [BLACKBOX] FormGen.Empty closes focus window

From: [at]} <Blackbox>
Date: Sat, 16 Jul 2011 05:09:00 +0200

----boundary-LibPST-iamunique-24780975_-_-
Content-type: text/plain

Hi Doug,

you could try and use the following two commands instead of FormGen.Empty:

  FormViews.Deposit;
  StdCmds.Open

Kind regards,
Marc

> From: BlackBox [BLACKBOX{([at]})nowhere.xy
> [danforth{([at]})nowhere.xy
> Sent: Samstag, 16. Juli 2011 02:39
> To: BLACKBOX{([at]})nowhere.xy
> Subject: [BLACKBOX] FormGen.Empty closes focus window
> Folks,
>
> When I (under program control) execute the command
> FormGen.Empty
> an empty form is created and displayed but it has the unwanted
> side effect of closing the current window that has the focus.
>
> If the focus window is dirty then the dialog ShowStatus message
> is "cannot close dirty window" but why in heavens name is it
> trying to close the window!!!?
>
> Is there some workaround where I set a status somewhere before
> I call FormGen.Empty?
>
> -Doug Danforth
>
>
> ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
> LISTSERV{([at]})nowhere.xy

----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-24780975_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIERvdWcsXHBhcg0KXHBhcg0KeW91IGNvdWxk
IHRy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