Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering a bitmap file in its OLE bound control
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00061306
Message ID:
00061350
Views:
40
>Hi,
>
>I'm designing a report and I would like to print bitmaps centered within the OLE bound control used. I know that bitmaps taken from general fields can be centered but Is there an easy way to do it with a bitmap file ?
>
>Thanks.

I know this is a bit kludgy, but you could use a general field. Just create a cursor with one general field. Append a single record. Append the bitmap file into the general field and refer to the general field. If you need a different bitmap for each record, you could use the report event that fires before the detail band (I can't remember the name right now) to append the appropriate bitmap for each record. That could get very slow if the files are large or if you have a lot of records.

Good luck,

Josh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform