How to drag and drop ?
Moderator: Rathinagiri
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: How to drag and drop ?
Hi PabloCesar
First, EXCELLENT JOB, works fine and really inspirational.-
Second, thanks for share with all of us.-
With regards
Eduardo
Hola PabloCesar
Primero, EXCELENTE TRABAJO, funciona perfecto y es realmente inspirador.-
Segundo, gracias por compartirlo con todos nosotros.-
Cordialmente
Eduardo
First, EXCELLENT JOB, works fine and really inspirational.-
Second, thanks for share with all of us.-
With regards
Eduardo
Hola PabloCesar
Primero, EXCELENTE TRABAJO, funciona perfecto y es realmente inspirador.-
Segundo, gracias por compartirlo con todos nosotros.-
Cordialmente
Eduardo
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: How to drag and drop ?
Gracias Pablo por compartir..
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
How to drag and drop ?
Agradezco Eduardo y Daniel por las palabras de agradecimiento.
Pero el colega Zoly, está precisando otra solucion. Que creo que es posible.
Googled
I thank Eduardo and Daniel for the words of thanks.
But colleague Zoly, is needing another solution. Which I think is possible.
Maybe it could be posible to put the ListBoxes in MultiSelect and make it available items in the same routine of drags.
Pero el colega Zoly, está precisando otra solucion. Que creo que es posible.
Talvez bastaria colocar en MultiSelect los ListBoxes y disponibilizar los itens en el otro con la misma rotina.zolysoftsolutions wrote: ↑Wed Feb 22, 2017 12:33 pm Hi everyone!
Can somebody tell me how can I drag and drop an item between two listboxes?
Googled
I thank Eduardo and Daniel for the words of thanks.
But colleague Zoly, is needing another solution. Which I think is possible.
Maybe it could be posible to put the ListBoxes in MultiSelect and make it available items in the same routine of drags.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
Re: How to drag and drop ?
Thank you Pablo Cesar. Is true, the sample of Daniel is excellent, but I studed every word of the source, and cannot apply to a simple listbox.
The listbox have no mouse events. I have made a very nice selling system, and I need to create the possibility to drag some listitems into a textbox or label or another list.
The listbox have no mouse events. I have made a very nice selling system, and I need to create the possibility to drag some listitems into a textbox or label or another list.
_______________________________
Open eyes for you!
Open eyes for you!
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
How to drag and drop ?
May you post small example what you expect for it ? (Earning time...)
At moment I'm little busy but I will let it as open case for me to attend you. Ok ?
At moment I'm little busy but I will let it as open case for me to attend you. Ok ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
Re: How to drag and drop ?
Thank you Pablo.
In attachment included the sources and the .exe. This is just for example, the original is more complex.
In this sample you can drag and drop the labels from the middle of the form into one of the lists (just one time, but can reset).
My problem is that I wish also a list instead of labels, because everytime I need a new topping for pizza, I have to create new label.
In attachment included the sources and the .exe. This is just for example, the original is more complex.
In this sample you can drag and drop the labels from the middle of the form into one of the lists (just one time, but can reset).
My problem is that I wish also a list instead of labels, because everytime I need a new topping for pizza, I have to create new label.
- Attachments
-
- lista.zip
- (1.49 MiB) Downloaded 205 times
_______________________________
Open eyes for you!
Open eyes for you!
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How to drag and drop ?
Thanks for sharing Zoly !
Serge
Serge
There's nothing you can do that can't be done...
Re: How to drag and drop ?
Hola Zoly
A mi ver, no es practico en un punto de venta. Yo trato de simplificar a lo mínimo posible el manejo del ratón porque hay personas que tienen más facilidad de su manejo que otras.
Es solo una idea...
Porqué no creas 2 listbox y y 2 textbox... uno con lo que excluyes y otro con lo que incluyes.
Al seleccionar alguno de los elementos de cada listbox, lo añades al textbox correspondiente y tu tratas ese textbox como quieras.
-----------------------------------------------------------------------------------------------------------------------
Hi Zoly
In my opinion, it is not practical at a point of sale. I try to simplify mouse handling as little as possible because there are people who are easier to handle than others.
It's just an idea...
Why not create 2 listbox and 2 textbox ... one with what you exclude and another with what you include.
When you select one of the elements of each listbox, you add it to the corresponding textbox and you treat that textbox as you want.
A mi ver, no es practico en un punto de venta. Yo trato de simplificar a lo mínimo posible el manejo del ratón porque hay personas que tienen más facilidad de su manejo que otras.
Es solo una idea...
Porqué no creas 2 listbox y y 2 textbox... uno con lo que excluyes y otro con lo que incluyes.
Al seleccionar alguno de los elementos de cada listbox, lo añades al textbox correspondiente y tu tratas ese textbox como quieras.
-----------------------------------------------------------------------------------------------------------------------
Hi Zoly
In my opinion, it is not practical at a point of sale. I try to simplify mouse handling as little as possible because there are people who are easier to handle than others.
It's just an idea...
Why not create 2 listbox and 2 textbox ... one with what you exclude and another with what you include.
When you select one of the elements of each listbox, you add it to the corresponding textbox and you treat that textbox as you want.
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How to drag and drop ?
Hello Zoly,
I think Andres is right: onclick in a grid and add in another one.
I do the same thing for invoicing. Click in a grid with possible products then add to 'basket'.
Serge
I think Andres is right: onclick in a grid and add in another one.
I do the same thing for invoicing. Click in a grid with possible products then add to 'basket'.
Serge
There's nothing you can do that can't be done...
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
Re: How to drag and drop ?
Serge and Andy.
I will not use mouse.. I will use on touchscreen and is more practical to drag-and-drop than a lot of clicks..
The items from the middle of the form are the toppinds for pizza. My waiter must exclude some of them, he/she have to move to the <without> basket (listbox) and some of the items have to move to the right listbox, where are the added toppings.
Andy your ideea is not bad, but many times our customers exclude just one, maximum two toppings (the spicy for children), but they want extra toppings more than one item, this is why I have to move to a listbox, not just a textbox.. but is a solution, not very nice, but is if I create 4 lists: 2 with all the items and I can move the items trough the change() event..a single touch move to another list. The drag'ndrop is more actual, more close to today's technology.. I tried
I will not use mouse.. I will use on touchscreen and is more practical to drag-and-drop than a lot of clicks..
The items from the middle of the form are the toppinds for pizza. My waiter must exclude some of them, he/she have to move to the <without> basket (listbox) and some of the items have to move to the right listbox, where are the added toppings.
Andy your ideea is not bad, but many times our customers exclude just one, maximum two toppings (the spicy for children), but they want extra toppings more than one item, this is why I have to move to a listbox, not just a textbox.. but is a solution, not very nice, but is if I create 4 lists: 2 with all the items and I can move the items trough the change() event..a single touch move to another list. The drag'ndrop is more actual, more close to today's technology.. I tried
_______________________________
Open eyes for you!
Open eyes for you!