SP2 - My App does not show main form - Orig Neville Lang

  • Thread starter Thread starter Paul [Paradise Solutions]
  • Start date Start date
P

Paul [Paradise Solutions]

Hi there

I've been facing the same problems as Neville mentioned - putting
BringToFront(), Refresh() and even Focus() and Show() in the activate
event on my apps main form, but still the app loads, the 'system tray'
disappears to be replaced by the SIP on/off button, but the form fails
to appear.
I also removed all calls to DoEvents but still this occurs. Does any
one have any sugestions or insight as to what makes forms fail in this way?


Many thanks


Paul
 
I can try making the code postable - wil take a little work, but I don't
use the emulator, only real devices (iPaq 3700 series and Dell Axim X5)


Paul
 
After looking at the code to post I found a DoEvents call in one of my
classes that I had missed. Once I removed it, the form loaded OK.
Therefore I have to agree wholeheartedly with Mr Lang that any use of
DoEvents during the contruction of a form has an effect on the form
displaying properly.


Paul
 
Back
Top