Cetin,
Will do as you suggest and will check out Win97 files. Looking forward
to you having access to your computer again.
Michel.
===================== Your original message follows =================
If you're satisfied with other aspects of image giving it a press effect like default command button
is not hard. Mouse* events are ideal for setting the effect. Check for win97buttons in files section to
see an implementation (I think image is used there). When I have access to my own computer, I
can send you an implementation too.
Cetin
>Cetin,
>
>Yes, I thought of all of those but they all have their problems.
>
>Using an image means the user does not get the illusory effect of the
>Command Button being pressed in and out, like the default command
>button does.
>
>Playing with the Windows System colours is dicy as a) you then cannot
>have both a grey and a blue command button, and, also, the application
>is not portable as it is dependent on the user's Windows's system
>colour settings.
>
>Any other suggestions ?
>
>Michel Creppy.
>
>=================== Your original message follows ===============
>
>>Has anyone cracked how to change the colour of a command button
> >from its normal grey to, say, blue, yellow, or anything else ?
> >
> >Thanks.
> >Michel Creppy.
> Michel,
> Ways I can think of :
> 1-Use a picture.
> 2-Create a custom image or shape class, looks like a commandbutton.
> 3-Worst maybe, play with windows system colors.
> Cetin
>
> Çetin Basöz
Çetin Basöz
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only