Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A container needed to emulate a button.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022050
Message ID:
00030756
Vues:
56
> > I need to use a container object to emulate a command button. I've set the > intial .SpecialEffect property to 0 (raised) to look like a button. The > problem is that I cannot make it look sunken (1) by clicking it. I've > tried changing the .SpecialEffect property in the .MouseDown/Up events and > in the .Click event to no avail. The button does not change it's > appearance. Anyone else done this? How does one make the container look > "clicked" at runtime? > > Thanks, > Steve Despres to do that you have to under the mouse down command use code first you have to have three picture boxes then put oen where you want the custom buttom then put to invisible picture boxes the put the first picture that would be in the box when it is not cliced then put the picture of the button when pressed in the third one and here is the code private sub mouse down picture1.picture = picture2.picture end sub private sub mouse up picture1.picture = picture3.picture end sub hope i helped you bye
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform