# Events in layout object like VB

**URL:** <https://forum.servoy.com/t/events-in-layout-object-like-vb/323>\
**Category:** Classic Servoy\
**Created:** [September 10, 2003, 10:44am UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323 "2003-09-10T10:44:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [September 10, 2003, 10:44am UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323/1 "2003-09-10T10:44:30Z")

</div>

Hi there,

Event handling like what we have in MS Visual Basic is available are supported in Servoy? Events like drag-drop, mouse move etc., are supported? In my demo version I can see for a button we just have only an action event (which is similar to a button clicked event in VB)

Please help me clarify.

Thanks,  
Hameed

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [September 10, 2003, 9:36pm UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323/2 "2003-09-10T21:36:04Z")

</div>

No servoy is not a Java GUI designer.. maybe we will move to it over time but that is not yet committed.

for now you have the events we can provide you like:  
onAction (button click or enter press in textfield)  
focusLost and focusGained  
onChange (data is changed of the entry field)

what kind of events you would like to see on specific components? And what would you like to do with them.

---

<div class="post-metadata">

**Author:** ![faheemhameed](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@faheemhameed](https://forum.servoy.com/u/faheemhameed)\
**Post date:** [September 11, 2003, 3:25am UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323/3 "2003-09-11T03:25:06Z")

</div>

What I want to achieve is a drag-drop functionality. If I have a small image gallery database which stores images, then I want to allow the users to drag the image file from widows explorer and drop it in the Form.  
This action would create a record in the database and copies that image into the image gallery application’s image folder and store the image reference(path).

I still do not know how image functions work in Servoy. Can I store a image path in a field and show the image in the form using the image path field? I have just downloaded the demo and playing around for an hour. I am a filemaker developer and the Servoy is quite exciting for me.

Thanks for your answers.

Hameed

---

<div class="post-metadata">

**Author:** ![Bert](https://avatars.discourse-cdn.com/v4/letter/b/9e8a1a/32.png) [@Bert](https://forum.servoy.com/u/Bert)\
**Post date:** [September 11, 2003, 4:18am UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323/4 "2003-09-11T04:18:27Z")

</div>

Look at [this](http://forum.servoy.com/viewtopic.php?t=9&highlight=) topic wich also refers to another about pictures.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [October 22, 2003, 11:55am UTC](https://forum.servoy.com/t/events-in-layout-object-like-vb/323/5 "2003-10-22T11:55:39Z")

</div>

Drop of (image) files in a media field is supported in next build
