Textbox forecolor changes

E

Eric

Hi,

I have a wierd problem.

on several machines a program of mine is working on (so not all of them) has
some strange behaviour concerning two multiline textboxes.

If the user puts in some tekst and then moves his mouse away from the box,
the text forecolor goes white.
Also the textbox flickers when moving the mouse over it.

The text is still there, only by selecting it, the user can see it again.

I cannot reproduce this myself on my computer and not all computers show
this behaviour.
There is no mouse-hover/move sub used in the program.

Anyone have an idea how this comes?

rg,
Eric
 
F

Family Tree Mike

Eric said:
Hi,

I have a wierd problem.

on several machines a program of mine is working on (so not all of them) has
some strange behaviour concerning two multiline textboxes.

If the user puts in some tekst and then moves his mouse away from the box,
the text forecolor goes white.
Also the textbox flickers when moving the mouse over it.

The text is still there, only by selecting it, the user can see it again.

I cannot reproduce this myself on my computer and not all computers show
this behaviour.
There is no mouse-hover/move sub used in the program.

Anyone have an idea how this comes?

rg,
Eric

I had an occasion during development several years ago with something
similar, but 1) it was a combobox, 2) the DrawMode property was
involved, and 3) it was in c#. It ended up that something during
initialization of the form was failing. The failure did not occur for
users who were true admin users, but did occur for non-admin users.
Eventually the correction was discovered by making a small test app with
just the control in question and its initialization routines and code
and seeing that it worked fine. Changing the order of some
initialization calls in our actual form then fixed the issue.

I'm not sure if this is the same way for you to go, but hopefully it helps.
 
B

BillE

I had something like that happen when the forecolor was set to a
system-defined color like WindowText or ControlText, and the users had
customized their system colors. This seemed to occur more in a Vista
environment, maybe because the same system-defined color setting was
different in Vista than XP by default, I don't know.
 

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