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

  • Thread starter Paul [Paradise Solutions]
  • 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
 
P

Paul [Paradise Solutions]

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
 
P

Paul [Paradise Solutions]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top