Quote from Gaev on January 1, 2019, 11:54 pmVisualNEOWeb has a plugin/command named slDraggable.
1) When I do not name an "Object to be used as handle", like so ...
slDraggable "Container2" "" "" 0 0 ""... I can drag the Container at run time.
But if I specify another object as the handle, like so ...
slDraggable "Container2" "" "" 0 0 "myLogo"... I can not drag (Container2) no matter where my mouse pointer is located.
I tried using an Image and an SVGIcon object as the handle.
Also tried with the handle object itself being draggable; no dice.
Perhaps my understanding of "object to be used as handle" is incorrect; I could not find any documentation or sample app that provided guidance.
2) Are there any plans to offer a similar super command to enable users to resize objects using their mouse ? e.g. slReSizable
In my first planned Application, there would be a Container with one to many (user configurable) buttons; depending on the device (phone, tablet, laptop, desktop), I would like the user to be able to resize this Container to have as many buttons visible (for one click action) that his/her device can accommodate.
Right now, I can use the click event of other objects to add/subtract finite amounts of width/height of the Container; but this is not the idle situation from a flexibility/efficiency/screen space point.
Could be achieved by saving mouse position at time of mouse-down and altering the width/height to match differences in the mouse-move event; but before I spend time doing this, please advise if there are plans for a plugin/command.
VisualNEOWeb has a plugin/command named slDraggable.
1) When I do not name an "Object to be used as handle", like so ...
slDraggable "Container2" "" "" 0 0 ""
... I can drag the Container at run time.
But if I specify another object as the handle, like so ...
slDraggable "Container2" "" "" 0 0 "myLogo"
... I can not drag (Container2) no matter where my mouse pointer is located.
I tried using an Image and an SVGIcon object as the handle.
Also tried with the handle object itself being draggable; no dice.
Perhaps my understanding of "object to be used as handle" is incorrect; I could not find any documentation or sample app that provided guidance.
2) Are there any plans to offer a similar super command to enable users to resize objects using their mouse ? e.g. slReSizable
In my first planned Application, there would be a Container with one to many (user configurable) buttons; depending on the device (phone, tablet, laptop, desktop), I would like the user to be able to resize this Container to have as many buttons visible (for one click action) that his/her device can accommodate.
Right now, I can use the click event of other objects to add/subtract finite amounts of width/height of the Container; but this is not the idle situation from a flexibility/efficiency/screen space point.
Could be achieved by saving mouse position at time of mouse-down and altering the width/height to match differences in the mouse-move event; but before I spend time doing this, please advise if there are plans for a plugin/command.

Quote from luishp on January 2, 2019, 2:33 pmHi @gaev,
Regarding the slDraggable, take a look at the original samples from the JQuery Draggabilly library.
I'm sure it will make thigs more clear.About resizing objects there is already a plugin named Fabric with that facility.
Not sure if this will work, but you can add a Fabric rectangle on another Container placed on top of the Container you want the user to resize and set its width and height equal to that the user define on the rectangle.
Hi @gaev,
Regarding the slDraggable, take a look at the original samples from the JQuery Draggabilly library.
I'm sure it will make thigs more clear.
About resizing objects there is already a plugin named Fabric with that facility.
Not sure if this will work, but you can add a Fabric rectangle on another Container placed on top of the Container you want the user to resize and set its width and height equal to that the user define on the rectangle.
Quote from Gaev on January 2, 2019, 4:11 pm@luishp:
take a look at the original samples from the JQuery Draggabilly library.
OK, it works now; the key to success was that the handle object had to be one that was 'contained within the draggable object'
About resizing objects there is already a plugin named Fabric with that facility.
The demo/sample app has a ton of objects; not sure which one you are referring to.
I will attempt to create solution using mouse-down and mouse-move event code.
@luishp:
take a look at the original samples from the JQuery Draggabilly library.
OK, it works now; the key to success was that the handle object had to be one that was 'contained within the draggable object'
About resizing objects there is already a plugin named Fabric with that facility.
The demo/sample app has a ton of objects; not sure which one you are referring to.
I will attempt to create solution using mouse-down and mouse-move event code.

Quote from luishp on January 2, 2019, 8:14 pmI think this JQuery library will do the job.
Will try to publish a plugin on the next days.
I think this JQuery library will do the job.
Will try to publish a plugin on the next days.
Quote from Gaev on January 6, 2019, 4:45 amYesterday, I completed testing a plugin that Luis developed to enable the user to resize a Container object at run time.
And all the developer has to do is script one command that names the Container and whether the object can be resized horizontally and/or vertically. When scripted so, the Container is shown with a handle that the user can use to resize.
This will be an important addition to the great value already provided by the VisualNEOWeb product.
Thanks to Luis for responding so quickly to my suggestion just a few days ago; and for improving its features multiple times to come up with the end product. I trust he will release it in the wild soon.
Yesterday, I completed testing a plugin that Luis developed to enable the user to resize a Container object at run time.
And all the developer has to do is script one command that names the Container and whether the object can be resized horizontally and/or vertically. When scripted so, the Container is shown with a handle that the user can use to resize.
This will be an important addition to the great value already provided by the VisualNEOWeb product.
Thanks to Luis for responding so quickly to my suggestion just a few days ago; and for improving its features multiple times to come up with the end product. I trust he will release it in the wild soon.

Quote from luishp on January 6, 2019, 11:23 amThanks to tou @Gaev,
I want to add some more fuctionality to the plugin and my idea is to release it as part of VisualNEO Web on next release.
Meanwhile anyone interested in this functionality can download the plugin from here. A very simple sample app is included.Best regards.
Thanks to tou @Gaev,
I want to add some more fuctionality to the plugin and my idea is to release it as part of VisualNEO Web on next release.
Meanwhile anyone interested in this functionality can download the plugin from here. A very simple sample app is included.
Best regards.

Quote from luishp on January 12, 2019, 10:29 am@Gaev, i have updated the plugin:
Now it's possible to call a subroutine on finish resizing.
It is also possible to set a min and max allowed size.Regards.
@Gaev, i have updated the plugin:
Now it's possible to call a subroutine on finish resizing.
It is also possible to set a min and max allowed size.
Regards.
Quote from italelmi on February 27, 2019, 7:42 pmGood evening to you all.
I have to implement an educational program for primary schools.
I'm interested in knowing if someone has done some exercises,
through the "Dragable" function with the release, insert
the correct or incorrect answers
and the time spent, through the clock.In another exercise I have to enter the partial score
and then the definitive one. How to do?
Good evening to you all.
I have to implement an educational program for primary schools.
I'm interested in knowing if someone has done some exercises,
through the "Dragable" function with the release, insert
the correct or incorrect answers
and the time spent, through the clock.
In another exercise I have to enter the partial score
and then the definitive one. How to do?

Quote from luishp on February 28, 2019, 10:24 amVisualNEO Web comes with a Draggable plugin to allow users to drag objects within the app, but currently it doesn't manage the drop part. Right now it's possible but more difficult than it seems to accomplish what you want. VisualNEO Win comes with a more complete solution for this kind of problem.
We will try to add new capabilities to this plugin or even create a new one with more possibilities but you will have to wait until then or use JavaScript.
Anyway we are very interested in knowing what you, our users, are using the software for as it's the only way to offer a good solution.
Thanks for your understanding.
Best regards.
VisualNEO Web comes with a Draggable plugin to allow users to drag objects within the app, but currently it doesn't manage the drop part. Right now it's possible but more difficult than it seems to accomplish what you want. VisualNEO Win comes with a more complete solution for this kind of problem.
We will try to add new capabilities to this plugin or even create a new one with more possibilities but you will have to wait until then or use JavaScript.
Anyway we are very interested in knowing what you, our users, are using the software for as it's the only way to offer a good solution.
Thanks for your understanding.
Best regards.