Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox control
Message
 
 
À
29/05/1998 11:50:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00103062
Message ID:
00103191
Vues:
28
>Basically what I want to do is present a user with a 5 X 5 square of choices.

> Have you thought about using a custom class composed of a container and a >label? The container would initially be set to "raised" style (.specialeffect
> = 0) to look like a button. When it is clicked, it could be reset to "inset"

Sorta...I think (I'm new to VFP...I know enough to really get messed up :) )
I did class the textbox for the special effect and color change depending on which state it was currently in. Although, I'm sure it isn't set correctly yet. I haven't tried the labe approach...it sounds like it would be the way to go. Actually, I need to class the button or whatever and the 5 x 5 square since there will be more than one. I'm working on a bingo program...I got frustrated with my other programs and thought this might be easier and a change of pace..but oh well...I guess each program presents its own unique challenges.


> When the user releases the mouse, the mouseup event can be used to restore >backcolor and specialeffect to normal.

I'm am going to try the approach you presented...thanks for your input.

Thanks, Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform