Discussion:
Events that never return
(too old to reply)
ben
2006-05-03 22:19:23 UTC
Permalink
I have two forms...

Tapping button1 on form1 opens form2 using FrmGotoForm()
Tapping button1 on form2 opens form1 using FrmGotoForm()

these taps are of course caught within my event handler. Catching
those events and calling FrmGotoForm() means that the event handler
never returns. Is this going to eat stack space? Is there any reason
why I should change this? thanks in advance
Baxter
2006-05-04 02:46:49 UTC
Permalink
AFAIK, FrmGotoForm() DOES return - it just schedules an event open event
for the new form , etc.
--
---------------------------------------------------------------------
DataGet® & PocketLog® www.dataget.com
Data Collectors www.baxcode.com
--------------------------------------------------------------------
Post by ben
I have two forms...
Tapping button1 on form1 opens form2 using FrmGotoForm()
Tapping button1 on form2 opens form1 using FrmGotoForm()
these taps are of course caught within my event handler. Catching
those events and calling FrmGotoForm() means that the event handler
never returns. Is this going to eat stack space? Is there any reason
why I should change this? thanks in advance
ben
2006-05-04 15:07:40 UTC
Permalink
You are correct! Thanks. It was a simple matter to test. I just made
an incorrect assumption. Thanks again

Loading...