Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Viewing
Message
From
16/10/2002 12:45:03
 
 
To
16/10/2002 09:07:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00711651
Message ID:
00711826
Views:
8
It must be in the init or load event of your form. Here is how one of my apps that have only one main form run from the main.prg:
PRIVATE llatifixquit
llatifixquit=.F.

DO FORM Rebuildall LINKED WITH llautorun, llforcedbf

* Form Rebuildall.release method has a clear events in it
* Form REbuildall.unload method has llatifixquit=.t. in it

DO WHILE !llatifixquit  && set to .t. in form's unload event to exit loop
    READ EVENTS
ENDDO
Also, if the form is included in the project, why are you specifying the extension and location of the form to run? You don't need to.

Tracy


>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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform