Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to prevent reflect of 'mouse-over' in checkbox?

Status
Not open for further replies.

Nifrabar

Programmer
Mar 16, 2003
1,343
NL
Hi!

I am using checkboxes to inform uses about status of a field.
The user may not change that field.
Therefore I put return .f. in when-method which is OK.
But...
Once I move the mouse over the checkbox there is (XP) a reflection of the mouse visible in the checkbox which is unwanted.
How to prevent that?

-Bart
 
I think you are refering to the "Yellow-ish" outline in the box that appears when you mouse over.

There are two fixes:

1) Make the checkboxs disabled when not in a mode that can be changed. (This.Enabled = .F.)

2) Turn off Windows Themes for the control with:
This.Themes = .F.

I assume you are using VFP9.



Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Scott,
Agreed.
Problem and VFP9 is as assumed.
I am going to give it a try and will inform accordingly.
-Bart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top