Search Tools Links Login

OccupiedSpaceFun, this function allocates randomly many objects (differerent size), no collision!

Populates container (form or picture) with objects, using the 'non-occupied space' concept.
Any added item, while populating the container, takes some cells from the 'unoccupied space':
it is a very fast process. Accurate demo and function design. Don't miss it!
OccupiedSpaceFun demo features:
- 2 switchable containers for the objects
- viewable 'non-occupied space' cells
- design/run time object sizes

On ideas proposed by Gunnar, THIRD EMAIL (23rd August 2K1):
Thank you very much for your time and efforts Pietro !
It works very fine, except for one small thing:
My labels are all in different sizes, so it would
have to be some kind of combination of no-collision
and non-occupied space if i was to be able to
implement it :)
Best regards,
This program has been written in Visual Basic 6.
I hope yow like the effort, have fun (ction...) :)

Original Author: Pietro ing. Cecchi

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 81 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 56,294 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.