Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a BMP programmatically?
Message
 
To
28/10/2002 10:13:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00716040
Message ID:
00716065
Views:
21
Hi Todd
When you manipulate the FRX as a DBF, you are manipulating the FRT as well! (it's the same as a working with a DBF/FPT pair)

In the particular case of the Objtype=17 records (bitmap), assigning the Picture field to the desired bmp file path works fine.

BTW, if instead of changing the Picture field of an existing record (BMP), you overrite the file itself with other bitmap (same name and path, different image) you need to issue a CLEAR RESOURCE command to force VFP to refresh its pictures cache.

Regards,
Jose.

>Is it possible to "programmatically" add a BMP logo to the heading
>Based on a previously selected checkbox..?
>I can manipulate the FRX (use as a dbf) change it to Landscape or Portrait
>Lettersize or Legal depending on user selections ... even Fonts etc...
>But the FRT poses the problem i think. I can create an "Object type 17"
>in the FRX (Picture record) but I can't modify
>the FRT to match ...?
>Any suggestions? Or should i just inform my boss
>how to add his own via "Report Controls"??
>Thanks...
------------------
Jose Marcenaro
Tercer Planeta - Argentina
http://www.tercerplaneta.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform