Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid click color change
Message
De
12/12/2020 13:18:58
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677545
Message ID:
01677546
Vues:
55
J'aime (2)
>Hi,
>
>I have a grid where, when the grid is initiated, one of the column Text control is removed and replaced with a check box. The check box class is defined in the .PRG as follows:
>
>DEFINE CLASS chk_print_order AS CHECKBOX
>
>
>Also in the code that instantiate the grid, this column style is set to 1 and then the caption is set to "Print Order"
>So, at run time, this column looks like a button with text "Print Order". Everything works.
>
>There is a very small thing that I would like to change, if possible. When, at run time, I click on any of the "buttons" in this column, the report is printed ok. But the color of the button, after I click on it, changes - slightly. It becomes a little bluewish. If I click on it again, the color is back to the initial color (gray). How can I make this "button" not to change the color after a click?
>
>TIA

A checkbox can have three values. What you see is if the value is .null. or 2, depending on whether the value is logical or numeric.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform