Try chaning the Themes property of both the form and the button.
>Hi,
>
>I have a form that contains a command button. That command button visible property is initially set to false and later changed to true based on the existence of records in a cursor. The setup works perfectly when the users operating system is WINDOWS XP but fails in Windows 7
>
>All other controls on that and all other forms work as expected. It is just that one command button on that one form.
>
>In windows 7, the button is never seen regardless of the existence of records. I know it is not my code, it works for me and it works at the customer site for all users with XP. It is just WIN 7 that is bugging me. Just to make sure, this is the code in the button's refresh method:
>
>THIS.VISIBLE = RECCOUNT('cCustList') > 0 and the refresh is called immediatly after the query that results in the cursor.
>
>Perhaps the issue is in the difference in the video differences?
>
>Thanks,
>
>Ken
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer