Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid, textbox in a container in a column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid, textbox in a container in a column
Divers
Thread ID:
00127736
Message ID:
00127736
Vues:
90
I have a grid that in column 1 has a container in it. The container has an image and a textbox control on it. The .DynamicCurrentControl for column 1 is filled with a call to a function to determine what picture to put in the image control. In that function there is also a check to see if the font for the textbox should be bold or not. The .DynamicFontBold has an IIF() statement to bold the active row.

This is all working........except that the bold characteristic of the textbox in the container does not display bold unless focus is NOT on that textbox. One can see this in two ways..if focus is in some other column, the textbox displays bold very nicely. Once focus is in the textbox, the bold goes away even though the property is still .T. You can also see it when focus is in the textbox and you hit a navigation key the textbox will become bold for a brief second as focus is transferred to another row.

The textbox is also a searchable one. The coloring mechanisms for the class work fine in other grids but not here. Whatever is holding up the font bold is also holding up the reverse color while searching.

I've tried switching .Bound and a host of other ideas but no solution.
The bold won't show up unless the textbox does not have focus.

Any ideas?

Thanks,
Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform