locked
Captions of CheckBox, Labels and OptionButtons gets darker RRS feed

  • Question

  • Hi,

    We have noticed that there are some unusual beahviours when VFP9 SP2 screens run on Windows 7 RC.

    - When a CheckBox has the BackStyle as Transparent on a form(screen), when the form is run and clicked on it, the CheckBox caption changes to bold
    - Labels and OptionButtons on a form having the BackStyle as Transparent also changes to bold when the screen is resized.

    Also noticed that eventhough the caption appearance of these controls looks like bold, it is not, but it seems to be repainting the text over and over which becomes darker.

    The folloiwng can be done to overcome this problem for a few Labels, Option buttons or Check boxes on a form
    - Reset the caption for these controls in the Paint() event of the form
    - Call the Refresh() of the Checkbox when clicked on the Checkbox

    But as a form has many Labels, Options buttons and Checkboxes it is not possible set the caption for each control.
    Also there are several forms in the application and need to code all of them.

    Please could someone advice what can be done to avoid these problems.
    Thursday, October 1, 2009 12:55 PM

Answers

  • Hi,

     

    I have checked on the following page and found Windows 7 is not in the Supported Operating Systems. I suspect this may be related to compatibility.

     

    Microsoft Visual FoxPro 9.0 Service Pack 2.0

     

    Regarding this, please also run the application with Compatibility Mode and see if it works.

     

    If the issue persists, it is recommended that you go to our Visual FoxPro Forum for help.

     

    Thanks.


    Nicholas Li - MSFT
    • Marked as answer by Nicholas Li Monday, October 12, 2009 1:51 AM
    Thursday, October 8, 2009 10:11 AM