Evan,
Thanks for the reply. However all the textboxes are derived from a base class and for one set of the boxes the only difference is the top, tabindex, and name properties. Methods are identical. I have tried changing the backcolor and disabledbackcolor and selectedbackcolor without any success. As a desperate attempt, I cycled through the colorsource options and tried most of the colorscheme options. I even tried changing hideselection to .F., but nothing seems to work. One other thing I noticed. The background seems to change on the losefocus event. Furthermore, depending on which other textbox you click into, the background previous control may or may not grey. I also went into the debugger just to verify that there wasn't any code in a method that fired in between the times I clicked between textboxes.
>Check the backcolor and disabledbackcolor of the boxes that are working >properly for the correct settings. VFP6 seemed to have different defaults than >VFP3. I had a few wonky things like this after conversion.
>Best best is to make a base class for all of your textboxes and get the >behaviour settled there.
>>Hi All,
>> I think I've seen a problem similar to this addressed here before but I can't remember when. I'm converting an application from VFp 3.0b to VFP 6.0 (SP3) and am having trouble with the background colors of textboxes (and edit boxes). Here is the scenario:
>
>I have a form which has a container which in turn contains a pageframe. When I click on any text box on page 1, everything works as expected. However, when I click on page 3 (which contains a grid), and then click back to page 1, all of the text boxes have the background greyed. I can still access all the fields and when I place the mouse in a text box the background changes to white (just as it should always be). If I click on another field, the first field may or may not revert back to a grey background and the field I just clicked in has its background change to white.
>>
>>Any help would be appreciated!
>>
>>Bob
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement