RE: VFP6 SP3: Where do READ/CLEAR EVENTS go?

Author: John C. Gunvaldson, CNE, MCP

Posted: 2000-08-18 at 03:08:42

Real quick,

One way is to create a small program to run the form. Something along the

lines of the following....

close all

clear all

clear

set procedure to &my procedure

set talk off

set deleted on

ect...

ect...

DO MyMainForm.Scx

Read Events

*--------

Then on a Button (called <Close Form ) on the Form - Have the click event

execute something like...

CLEAR EVENTS

ThisForm.Visible = .F.

ThisForm.Release()

RETURN DODEFAULT()

In a very simple Top Level Form - a process like this will work - I believe

the "Read Events" must exist outside of the Form - and before it is

called....

hth

John C. Gunvaldson, CNE, MCP

San Diego, CA

-----Original Message-----

From: profox@leafe.com [mailto:profox@leafe.com]On Behalf Of Iames

Pizzoli

Sent: Friday, August 18, 2000 12:58 AM

To: Multiple recipients of ProFox

Subject: VFP6 SP3: Where do READ/CLEAR EVENTS go?

Hi,

I'm building a project with one and only form, a top level form. It'll have

a pageframe, a bunch of controls and two commandbuttons, OK and Cancel. No

menu. That's all. When I try it in the IDE, all is OK. But launched as an

EXE it starts and immediately disappears. I know this is due to the lack of

READ EVENTS. But where is its (and CLEAR EVENTS') place?

TIA

Iames

----------------------------------------

Subscription maintenance at:

http://leafe.com/mailListMaint.html

©2000 John C. Gunvaldson, CNE, MCP