Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is There A Solution?
Message
From
12/08/2003 18:09:45
 
 
To
12/08/2003 18:09:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00819552
Message ID:
00819630
Views:
7
>>Hi There...
>>
>> Is not exactly like that. Let me explain me better. I have this scenario:
>>
>> I have a form that its size is: Width = 1017, Height 735 (In pixels, I guess). Then I need to add to this form a variable quantity of objects (Picture Objects)... Let's supose that for this example, they will be 150 Objects. How can I determine which is the size that let me insert all this images in the form and that they fit the form exactly?
>>
>> Hope I make myself clear, and that you or somebody can help me.
>>
>>c.oper
>>onedish@hotmail.com
>
>Hi Onelio,
>
>Here is a simple solution that assumes all 150 objects are the same size.
>
>Multiply the width of the form times the height to get the total area. Divide that result by 150 and you have the are allotted to each object. Assuming the objects are all rectangular and all the same size. Now the problem is how may rows and columns of objects and hence the shape of the object. Hmmmm Find a number that divides evenly into 735 such as 5x147, 7x105, 15x49 and 21x35. You now have the following choices:
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform