Hi,
Is there a way to disable the double click when in my app.
For some strange reason, when a double click is done on a button that dialog gets sent back one level.
Ex: I open oDlg1 then open oDlg2. So I should see oDlg2 on top of oDlg1.
If the user double clicks instead of a single click, oDlg2 is behind oDlg1.
Disable Double Click
- Jeff Barnes
- Posts: 912
- Joined: Sun Oct 09, 2005 1:05 pm
- Location: Ontario, Canada
- Contact:
Disable Double Click
Thanks,
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Disable Double Click
Jeff,
Please test this example and you will see that it works fine. There is no need to disable double click:
Please test this example and you will see that it works fine. There is no need to disable double click:
Code: Select all
#include "FWCE.ch"
function Main()
local oWnd
DEFINE WINDOW oWnd TITLE "Main"
@ 2, 2 BUTTON "Dialog1" SIZE 80, 25 ACTION Dialog1( oWnd )
ACTIVATE WINDOW oWnd
return nil
function Dialog1( oWnd )
local oDlg
DEFINE DIALOG oDlg TITLE "Dialog 1" OF oWnd ;
SIZE 200, 100
ACTIVATE DIALOG oDlg CENTERED
return nil
- Jeff Barnes
- Posts: 912
- Joined: Sun Oct 09, 2005 1:05 pm
- Location: Ontario, Canada
- Contact:
Re: Disable Double Click
After some further testing ... I don't have the issue everywhere in the app.
It seems to be tied to a successful bluetooth connection.
I need to do more testing, but it appears that if the user double taps the "bluetooth" device icon I get this problem when it returns to my program. Almost like it saves the extra tap and uses it to select Dialog1 around the same time that Dialog2 is being created.
It seems to be tied to a successful bluetooth connection.
I need to do more testing, but it appears that if the user double taps the "bluetooth" device icon I get this problem when it returns to my program. Almost like it saves the extra tap and uses it to select Dialog1 around the same time that Dialog2 is being created.
Thanks,
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)
Jeff Barnes
(FWH 12.01, xHarbour 1.2.1, Bcc582)