Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone have BMP/MSK for command button?
Message
From
13/04/2007 08:37:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01215348
Message ID:
01215450
Views:
21
>>Yep, did that after I posted, but now I can't get the syntax to work correctly. Anyone have a sample of old code with multiple command buttons using the PICTURE function? And, no, the FP2.6 help doesn't have any that is useful.
>Sure it does:
>"To use a picture file in a push button, add B to the push button specification code. The FUNCTION and PICTURE clause specification codes that create a push button are * and @*, respectively. To create a push button with picture prompts, use the codes *B and @*B, followed by a space and the picture filename. If the picture file is not located in the default directory or folder, include the path to the picture file with the picture filename".
>
>mchoice = 1
>@ 2,2 GET mchoice FUNCTION [*B "] + HOME() + [Ffc\Graphics\cancel.bmp"] ;
>	SIZE 1, 8
>
>Anyway, why are you torturing yourself with that outdated stuff?

Because that's what the application is written in. I'm modifying it. I have no choice. That didn't help by the way. That is a single button, not a multiple button group. I can't get the code (that I posted) to work with the PICTURE function. No problem with a single button though. I have found no Foxpro Help that helped and was just hoping someone had some old code that already had the syntax. If I could do this using something remotely in the decade, I would, but unfortunately if I want a paycheck, I have to work with this crap. Make sense?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform