Strange Text obscuring on form label ...

G

Guest

Hi,

Ive encountered a very strange problem with my application. Initially I
wrote the application to work on a QVGA mode resulotion (240*320) and all was
well.
I then rewrote the code to work for the VGA mode resolution (480*640) and
started encountering a very strange problem with Labels.

A bit difficult to describe but i'l try ...

When I move between forms by calling the frm.show or frm.showdialog methods
parts of the text on label controls (displaying simple text strings) seem to
disappear. I have a form called frmServer and a label (lable1) that display
"Enter Server Number" and when I call frmServer from another form by
"frmServer.show" then Sometimes I'l get the "EN" letters completely obscured,
sometimes the "EN" and parts of the T letter obsured. The same applies on
other forms too.

This also affects my custom message boxes that are shown using the
frm.showdialog.

Why is this happening?

Ive tried calling frm.refresh, frm.invalidate, Application.doEvents but to
no success.

Maybe I could call the Windows CE.NET screen refresh? How do I do that? Is
there anthing else I can try?

Thanks in advance.
Zahid.
 
G

Guest

Hi,

No replies ..... I did think it was a strange problem and most people prob
never encountered....

Ive further noticed that whenever the text is obscured in the labels its
always the top left corner of the label. Not sure why. This also applies to
the label on my custom msg box too.

Thanks.
 
D

Daniel Moth

You don't have a mainmenu with no menuitems on the same form do you?

Cheers
Daniel
 
G

Guest

No i dont have a MainMenu. Its not PocketPC application its a WinCE.NET
application.

Thanks,
Zahid.
 
D

Daniel Moth

I understood you the first time that it is a WinCE device hence I asked
about the menu. On CE they are at the top (on a PPC they are at the bottom
and outside the client area).

It was worth a shot.

Cheers
Daniel
 

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