Re: Power Objects Dialog Problem

From: Jose A. Brihuega <jose.brihuega_at_uca.es>
Date: 1997/04/11
Message-ID: <334E11EF.2703_at_uca.es>#1/1


John Rainey wrote:
>
> There is a bug in OPO 2.0 using the [form].OpenModel function. The focus
> is not returned to the control which opened the dialog box, in fact the
> focus stays on the dialog box after it is closed and I can't get it back.
> Any one else have this problem and know how to work around it!!!!

You must do:

  1. The property IsDismissBtn of the button that dismisses the modal form have to be true.
  2. If you added any code to this button, end it with a call to Inherited.Click()

It works fine to me. :-)

---
Saludos de <jose.brihuega_at_uca.es> 
<http://www.geocities.com/SunsetStrip/1794/home.html>

PGP Public Key available at:
<http://www.geocities.com/SunsetStrip/1794/public.txt>

JOIN GREENPEACE <http://www.greenpeace.org>
Received on Fri Apr 11 1997 - 00:00:00 CEST

Original text of this message