Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Drag and drop  (Read 8893 times)
Candy M.
Posts: 139


« on: June 17, 2008, 11:54:25 pm »

Will Genero ever have the drag and drop feature?

For example, if I have two tables side by side, I would like
to drag one cell of a table to a cell in the other table.

Thanks!

Candy
.
Four Js
Posts: 30


« Reply #1 on: June 18, 2008, 11:22:50 am »

Hello Candy
Could you please elaborate a little bit more.
Do you just expect to copy/paste cells values or do you need some "events" on the 4GL side to be aware of the Drag and the Drop user actions ? In this last case, what would be the typical code you write in this actions handlers.
Regards,
Olivier
Candy M.
Posts: 139


« Reply #2 on: June 18, 2008, 07:15:58 pm »

Olivier,
       Suppose I have a list with one column and a list with several columns.
       I want to click on a cell in the one column list and "drag" the contents
of the cell into any cell of the multi-column list.  The contents of the
cell would disappear in the first list and when it is released by
the mouse, appear in the cell of the second list.  And an event-listener
would need to indicate when this happens.
       Also, the contents of these cells would be images, so the
user would get the feel that he can move these "images" around.
       And I would want to move cells around in the multi-list also.
Suppose I want to move the contents of a cell into the
a cell that already has data.  Then, I would want
to sense that the "drag and drop" has taken place so I can
program the array to shift the current contents of the cell down one row.

Candy
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines