Re: Making a selection

2018-11-09 Thread Kirk Brooks via 4D_Tech
Peter, That's doable. I haven't played with form objects at that level for some time. I'd use a picture for the background or boundary object. The On Mouse Down event let's you trap a click on the picture. You could also trap the On Mouse Up event to get the delta between where the click started

Re: Making a selection

2018-11-09 Thread Keith Culotta via 4D_Tech
Nothing built in, but one option is to put an invisible rectangle on a form, and make it visible and act like a selection rectangle when the mouse goes down. Another is to overlay (or underlay) a form sized picture on the form and use SVG to produce the selection rectangle. SVG is nice in

Re: Making a Selection

2018-11-09 Thread Kirk Brooks via 4D_Tech
Peter, No. For something like that I'd think about adding some sort of indicator button next to object of interest. The user could click the ones selected and some other action, perhaps another button but could be something else, would trigger the code to loop through these objects and build the

Making a selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi My Prevoius post wasnt very clear. Im asking that the user can select an object or objects, by clicking on an object, say a rectangle, and draging it to change its size, for example. or the user can add multiple objects, by surrounding them with a box, to an array of object names. thanks -pm

Making a Selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi Is it possible to make a selection of objects on a form, by dragging a box around the objects, and issuing a command to select them, possibly adding the object names to an array Thanks -pm Mac Yosemite 4D 13.6 ** 4D Internet