I must make a little calc..
Sorry for my english,
I explain YOU:
1) the user must press a button of a number
2) the user must press the button of X
3) the user must press the button of a product
the procedure calc the total (quantity * the prize of each product )and then save on the listbox
then Each variable it must be annulled but it calc bad the second operation this variable calc numbers of quantity
the user can press only a button of a product and the procedure must calc the quantity egual to 1 with the prize of this product and then save on the listbox
If you want try to run my sample , the test is on www.fivegest.it/testc.zip
I hope YOU help me
Regards
error on variable
error on variable
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Raymundo Islas M.
- Posts: 590
- Joined: Tue Mar 14, 2006 11:34 pm
- Location: Acapulco, Gro. MEXICO
OK, Let's see if we can understand each other
The operations you plan to do, you must do it directly from the listbox, using the Add, Reduce, Clear buttons.
In this case, after you select an item save its price and by default 1 unit in the listbox, thus, you can manage later if the user wants to add some units more or otherwise reduce them.
I did it this way in this little app to fast food POS and it worked great !!
See the image and you'll find out is almost the same job you're doing.
I really hope you have understood to me
Saludos
The operations you plan to do, you must do it directly from the listbox, using the Add, Reduce, Clear buttons.
In this case, after you select an item save its price and by default 1 unit in the listbox, thus, you can manage later if the user wants to add some units more or otherwise reduce them.
I did it this way in this little app to fast food POS and it worked great !!
See the image and you'll find out is almost the same job you're doing.
I really hope you have understood to me
Saludos
FWH 10.6 + xHarbour + Borland 582