Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread DRAGGABLE at run-time?
Sat, Oct 3 2015 1:44 PMPermanent Link

PA

Hello!

is it possible to make a TBasicPanel or a TImage DRAGGABLE at run-time?
Sat, Oct 3 2015 2:11 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

PA,

<< is it possible to make a TBasicPanel or a TImage DRAGGABLE at run-time? >>

Yes, but it involves creating a descendant control.  See here for how to do this (approximately):

http://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb2_preview&page=1&msg=974#974

This functionality is now already in the TPanel/TDialog controls/forms:

http://www.elevatesoft.com/manual?action=viewprop&id=ewb2&comp=TPanelCaptionBar&prop=AllowMove

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Oct 3 2015 5:00 PMPermanent Link

PA

It would be SO NICE being able to do something like this natively with EWB:

http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_draganddrop
Thu, Oct 8 2015 8:11 AMPermanent Link

Matthew Jones

PA wrote:

> It would be SO NICE being able to do something like this natively
> with EWB:
>
> http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_draganddrop

You can - or at least you can in EWB1. I have an application where you
can drag circles from one place to another. They just have to be
parented properly, though now I come to think of it, the end points
actually are other circles, but the core dragging of an object around
the form is not hard. I will be converting that application to EWB2
soon, I hope, to support touch too.

--

Matthew Jones
Image