FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Disable Double Click
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Disable Double Click
Posted: Wed Mar 11, 2009 04:50 PM

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.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Disable Double Click
Posted: Thu Mar 12, 2009 07:49 AM
Jeff,

Please test this example and you will see that it works fine. There is no need to disable double click:
Code (fw): Select all Collapse
#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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Disable Double Click
Posted: Thu Mar 12, 2009 11:08 PM

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.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion