I have a Touch Screen Point of Sale program that uses a lot of pop up dialogs with a virtual pin pad (0 - 9 and a few other functions).
I am having to problems, one when I use BTNBMP and the other when I use SBUTTON.
1. When I use BTNBMP you can't click (touch) too fast or it will miss a character. I believe it thinks you are "double" clicking the button instead of 2 single clicks. Using SBUTTON I get every button click as fast as you can click.
Is there a way to turn off the double click functionality in the BTNBMP class?
Does anyone have a SBUTTON version that doesn't leak memory?
bradmaudlin wrote:I have a Touch Screen Point of Sale program that uses a lot of pop up dialogs with a virtual pin pad (0 - 9 and a few other functions).
2. When I use SBUTTON it have a memory leak. I have tested the same code with BTNBMP buttons and SBUTTON button. Watching the Task Manager my program starts out at 15.2MB for both. After only 20 transactions the BTNBMP version is at 15.6MB while the SBUTTON version is at 19.6MB. I have tried putting a Memory(0) call at the end of each transaction, but it did nothing.
Does anyone have a SBUTTON version that doesn't leak memory? The memory leak only seems to happen when the button is created. If I create the dialog and press the buttons 2 times or 200 times i get the same memory leak amount (about .2MB).
Is there a different BUTTON class that might work for me?
Thanks
Brad
Antonio Linares wrote:Brad,
Yes, the right tool for it.
You may test it and see what results you get
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 68 guests