>>I am executing the following code to instantiate a form. The form just blinks on the screen. I can not view it again. I have set the modal property and also used the read events. The screen does not stop on the read events syntax. What am I missing?
>>
>> If Alltrim(lcPassword) == BRIDGE_PASSWORD
>> DO form forms\viewer.scx
>> EndIf
>> Read Events
>
>The Read Events should be before the form is started, not after. Otherwise there is no event handler to "hold it up."
>
>Mike
How is this? If you put the READ EVENTS at the beginning, the program will stop there. Commands after the READ EVENTS will not be executed until a CLEAR EVENTS is issued.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)