VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by pietro ing. cecchi (8 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

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

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

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

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

No comments have been posted about OccupiedSpaceFun, this function allocates randomly many objects (differerent size), no collision. Why not be the first to post a comment about OccupiedSpaceFun, this function allocates randomly many objects (differerent size), no collision.

Post your comment

Subject:
Message:
0/1000 characters