Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to size an image in a grid column?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00930740
Message ID:
00930828
Views:
11
This message has been marked as the solution to the initial question of the thread.
Hi Rodd,

You can create a class based on container and image and dropt it into a column. This way you can control the size and location of the image in a cell.

>I have a grid in which I have done the following:
>
>1) Replaced the current control of the first column with an image control and set the columns sparse property to .F.
>2) Changed the RowHeight (for the grid) to 30 rather than the default 18.
>
>The image I'm displaying with the image control is actually 32x32 but I only want it to display at 16x16.
>
>However, when I placed the image control into the grid, it's height & width properties became grayed out and it seems to want to make the image the same height as the row. I've tried setting the column alignment to 2 - Middle Center but that doesn't seem to help.
>
>Is it not possible to control the height of an image in a column in VFP?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform