Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hot keys for graphical buttons
Message
 
À
06/02/2001 23:26:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00473002
Message ID:
00473495
Vues:
20
>>You can have a caption with a hot key AND a picture, and set the command button's ForeColor to 192,192,192.
>
>No good - it'd stand out as a bullseye on any machine where I work. That's called user's preferences, and I hate grey. All my machines had a slightly modified lilac theme - sometimes more to the purple, sometimes to the blue side.

True, it's a compromise that requires some user cooperation. But, tell me, if Imy user preference for the color of the window item is, let's say black, do you design all your forms to adapt to that?

>
>The good thing would be to have a nearly invisible object with backcolor=this.parent.backcolor, forecolor=backcolor, caption with a hotkey... hmmm, would a label be a candidate? The code would have to be in .gotfocus then. I still think the hidden buttons way is easier.

There are many ways around. The really good thig would be to have a hotKey property for command buttons.
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform