VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

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

pietro ing. cecchi  (8 Submissions)   Math/Dates   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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 [email protected], 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,
Gunnar.
++++++++++++++++++++++++++++++++++++++++++++++++++
This program has been written in Visual Basic 6.
I hope yow like the effort, have fun (ction...) :)

Rate OccupiedSpaceFun, this function allocates randomly many objects (differerent size), no collision (4(4 Vote))

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

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

No comments yet — be the first to post one!

Post a Comment

0/1000 characters