not sure if this is a known issue,
I have a modal form with an optionlist whose background color is transparent.
At runtime, the text gets bolder and bolder each time I move the mouse over.
It took me a while to realize the pattern, see screenshot attached for effect. I noticed the same thing starts to happen in the editor, when i right click and go to props, then hit ok. It resets ack to normal each time i focus on it in editor though.
This is happening for all optionlists with transparent backgrounds, per some tests just now.
This is on Win xp32bit, nvidia video card....thx
the orig is on right, left shows the bold effect, like offset resampling or something...
Where these forms created in an older version of ODCL?
I've seen that happen before with older projects.
You might want to try deleting the OptionList & adding it again.
You can copy & paste the "Button Captions" stings....
yes, like 4.1. Any easy fix? :)
I just now added an optionlist to a form, same result.
Is there history to this?
Hmmm Owen, may have to look into it more.
Yes, it happened in the MessageBox example that gets installed with ODCL.
I'm familiar with that problem. It has something to do with either anti-aliasing and/or font smoothing. It happens with other controls as well, only if they have a transparent background and only on certain OS/graphics combinations. If I understood more about the GDI system in Windows I could probably figure out a solution, but short of scrapping control transparency, I have not yet found a solution.
jmaeding, please have a test with backcolor -16 for the optionlist. -16 was the "original" backcolor. In my mind -24 is not neccesary if you use a standard form with no background image.
Fred
I set both the form color and optionlist color to -16, problem still happens.
Are you seeing cases where it does not happen?
Quote from: jmaeding on April 20, 2010, 08:34:35 AM
Are you seeing cases where it does not happen?
Yes, if you create a new project from scratch it shouldn't happen.
oh, good, there is hope. I'll try a few things to see if i can trick existing ones into shape, thx
hmm, I am seeing this bold thing happen even on fresh new projects and forms.
I made a project called test2, use this code to load and display form:
(DCL_LoadProject (findfile "Test2.odcl.lsp") T)
(dcl_Form_Show Test2_Form1)
move mouse back and forth over the optionlist, it takes a few passes to see the issue.
Now, this would be livable but there is a worse issue.
If I remove items at runtime, the optionlist does not refresh. It seems to leave behind previous paints of the control, probably the reason the boldness is happening.
I tried a form redraw call after removing items from the optionlist, no luck.
So this has gone from an annoyance to a signifigant bug for me.
Same Issue for me: I tried with VISTA 32bits, SEVEN 64 bits. AutoCAD 2009 and 2010.
Background color = -16 doesnt change anything.
This issue (with others) appears with 6.0.0.10
Copter
Hi, I can reproduce this on Win 7 x64 AutoCAD Map 2011 with OpenDCL 6.0.0.26.
Fred
It is happening to me as I tab through check boxes. Version 5.1.2.3
Windows 7 64 bit
Nvidia Quadro FX1800
Hi there,
Is'nt there any solution up to date? I am suffering it for while and no body is coming up with a solution.
I have not had any luck figuring out why it happens.