FormExDesktop

RandomCoder

Well-Known Member
Licensed User
I have a Form which was designed in the IDE and includes a timer.
Using this in the standard way ie Frm.Show works correctly.
But when I make the form into an extended form using...
MainForm.New1("Frm") 'MainForm has been added as a FormEx object
MainForm.Run

All still displays correctly but the timer event no longer gets fired :confused:

Can anyone shed some light on this?
PS I'm using version 5.8 on my laptop (still waiting for my echeque to clear and my upgrade to arrive :()

Regards,
RandomCoder
 

agraham

Expert
Licensed User
It should work fine, it does for me. I suspect that you are trying to enable the timer in App_Start after you have run the form. I thought that I had documented this but I can't now find where :confused:. Any code in App_Start after FormEx.Run is not executed until the application is closing as FormEx.Run does not return until then.

I've got e new version of FormEx that copes better with module names when used with the Threading library that I will release once the next version of B4ppc is released. I will amend the help then.
 

RandomCoder

Well-Known Member
Licensed User
Thanks Agraham, my app is now working correctly.
Shouldn't be too long before I'm fully up to date and working with the latest version of B4PPC.

Regards,
RandomCoder
 
Top