FireTexBox controls beep when lose focus ?

Started by Jean-pierre Leroy, January 23, 2010, 05:42:07 AM

Previous topic - Next topic

Jean-pierre Leroy

Hi,

I don't know if other FireFly users have the same behavior on their PC or not with the FireTextBox controls.

On my PC, when the FireTextBox control loses focus I hear a beep.

It happens with both "Tradional" and "Modern" design style and with all mask styles except "Date".

Can you report in this thread if you have the same behavior as me on your PC ?

PS: Here is a small project that you can use to test if you hear the beep.

Thanks you.
Jean-Pierre


Marc van Cauwenberghe


Cho Sing Kum

Yes, there are. Except Currency and Date.


WinXP Pro SP3 32 bit

Rolf Brandt

Same behaviou as Cho Sing Kum here.

WinXP Pro SP3
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Peter Maroudas

#4
Same Beep here , except for Date entry
WinXP Pro SP3

Paul Squires

Yes, there is a problem. When I am handling the TAB key to move to the next control, I am not "eating" the key once the GetNextDlgTabItem call is made. Here is the change (around line 1734 of the FireTextBox.inc file). I am adding Function = %TRUE: Exit Function.


         ' We would have intercepted the TAB key because we used %DLGC_WANTALLKEY.
         ' Windows will now expect us to handle the tabbing ourselves.
         If (wParam = 9) And (wMsg = %WM_CHAR) Then
            If (GetAsyncKeyState(%VK_SHIFT) And &H8000) = 0 Then
               SetFocus GetNextDlgTabItem( GetParent(GetParent(hWnd)), GetParent(hWnd), %FALSE )
            Else
               SetFocus GetNextDlgTabItem( GetParent(GetParent(hWnd)), GetParent(hWnd), %TRUE )
            End If
            Function = %TRUE: Exit Function   
         End If


I am attaching the new include file here for you to try.
Paul Squires
PlanetSquires Software

Jean-pierre Leroy

Paul,

I downloaded and installed the new FireTextBox.inc file; it works for me; no more beep.

Thanks for the quick fix.
Jean-Pierre

Roger Garstang

Perhaps this same type of issue is why the Properties in FF3 Beep when they lose focus or are closed too?