P PepSoft Member Licensed User Longtime User Feb 15, 2012 #1 is possible to create something like this? To change the width and height of an object PepSoft Attachments ImgA.JPG 3.2 KB · Views: 562
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2012 #2 Are you asking about Basic4android or Basic4ppc?
M mjcoon Well-Known Member Licensed User Feb 16, 2012 #4 PepSoft said: is possible to create something like this? To change the width and height of an object Click to expand... I wrote code to draw a rectangle and allow it to be stretched or moved, depending on where it was touched. I think it will be embedded in the mapping module of GPS4PPC v2.0. But because the idea was to define a zoom area the aspect ratio was constrained to the screen's. Also there were no "handle" markers as is common when drawing rectangles like this. But it might form a basis for what you want. Feel free to ask (especially if you cannot find the relevant code; I have much more recent versions!). HTH, Mike. Edit: in attached code you can grab the rectangle on each side, at each corner, or anywhere within, and drag appropriately. Attachments SqueezeRectangle.sbp SqueezeRectangle.sbp 7.3 KB · Views: 522 Last edited: Feb 16, 2012
PepSoft said: is possible to create something like this? To change the width and height of an object Click to expand... I wrote code to draw a rectangle and allow it to be stretched or moved, depending on where it was touched. I think it will be embedded in the mapping module of GPS4PPC v2.0. But because the idea was to define a zoom area the aspect ratio was constrained to the screen's. Also there were no "handle" markers as is common when drawing rectangles like this. But it might form a basis for what you want. Feel free to ask (especially if you cannot find the relevant code; I have much more recent versions!). HTH, Mike. Edit: in attached code you can grab the rectangle on each side, at each corner, or anywhere within, and drag appropriately.
P PepSoft Member Licensed User Longtime User Feb 17, 2012 #5 Thank you very much. It is a very interesting work. I will try to adapt it to my project. PepSoft