herryj Member Licensed User Longtime User Jan 5, 2015 #1 Hi, I'm having problem on how automatically fit in the red box if it is near in the gray one. (shown in the file attached). the output should be the red box overlay the gray box. help guys. Thanks
Hi, I'm having problem on how automatically fit in the red box if it is near in the gray one. (shown in the file attached). the output should be the red box overlay the gray box. help guys. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 5, 2015 #2 Is the user moving the red box? Upvote 0
S sorex Expert Licensed User Longtime User Jan 5, 2015 #4 you need to calculate the distance. if smaller than a certain amount just give the red box the same top & left values of the gray one. Upvote 0
you need to calculate the distance. if smaller than a certain amount just give the red box the same top & left values of the gray one.