>
> 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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement