Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an Icon on a Command Button
Message
 
To
19/12/1996 16:46:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00014769
Message ID:
00015702
Views:
35
>>>That sounds all great and slick...but is there a way to place a picture to the left of the caption text, and not above it? Borland C++, Delphi, and Visual dBase all seem to take this wish seriously and gave us a direct lame-level way to do it. Yet VFP, as far as I know, allows you to have the pic displayed only above your caption text. Did I miss something there?
>>
>>Hi Robert,
>>As far as I know, the only way to do so is to put your caption text right into graphic image. Another way is to put the label control over that button at the right place, and put the button Click() code into label's Click() but in this case you will not see your button depressed.
>>
>>Nick
>
>Hey Nick! That was a long time ago, huh! Anyway, here's a quick question then:
>Is there a way to emulate the visual of the button to look like it's pressed? I thought of it for a minute and the only thing I could come up with was to place on top of the button the option group (radio button) with it's appearance to be a button, and set it to TRUE, - that will make it look like it's pressed...But that's a lot of code, as my friends used to criticize me of :) Do you see a shorter and cleaner way?

Hey Robert! I think there are not enough properties to do so with a command button :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform