Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid click color change
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Checkbox in grid click color change
Divers
Thread ID:
01677545
Message ID:
01677545
Vues:
49
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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform