Dennis,
That won't work at the form level, but if you put a panel on the form and put all your controls on the panel, the panel can be enabled and disabled to effect everything in the container.


----- Original Message ----- From: "Dennis McGrath" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, October 20, 2010 4:55 PM
Subject: [RBASE-L] - Re: Odd form behavior


Just running it cold by itself

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Jason Kramer
Sent: Wednesday, October 20, 2010 3:01 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Odd form behavior

If you are disabling the form in a while loop, try running the loop with WHILEOPT set to OFF.

                                                   Jason


Jason Kramer

University Archives and Records Management

002 Pearson Hall

(302) 831 - 3127 (voice)

(302) 831 - 6903 (fax)

On 10/20/2010 3:54 PM, Dennis McGrath wrote:
RBASE 7.6

On the click of a button:

1.  disable the form
2.  run a lengthy process (refresh a listview)
3.  enable the form

We click the button and then click anywhere on the form.
Because the form is disabled, nothing on the form should respond.
When the process finishes, and the form is enabled, it responds to the bogus clicks.

It is obvious from the appearance of the form that it is not getting disabled.
If I trace the code, the form disables/enables correctly

Anyone know how to fix this?


Dennis McGrath


Reply via email to