FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Cannot turn off Bell at end of buffer entry in gets.
Posts: 28
Joined: Wed Nov 09, 2005 11:46 AM
Cannot turn off Bell at end of buffer entry in gets.
Posted: Thu Dec 15, 2005 05:01 AM

The command:

SET BELL OFF

is supposed to turn off the bell (sound in Windows) when at the end of entry in a get buffer. Whether SET BELL is OFF or ON I get the same result. Is this controlled in FW++ by the SET BELL command or is there another way to turn off the bell on beffer end? I want to turn off the bell at buffer end, but I can't.

The command:

SET CONFIRM ON works correctly in stopping at the end of buffer entry and not going to the next get. This is as expected.

Dan

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Cannot turn off Bell at end of buffer entry in gets.
Posted: Thu Dec 15, 2005 09:16 AM
Dan,

Fixed. These lines were missing from Class TGet:
           if ::oGet:TypeOut
              if ! Set( _SET_CONFIRM )
                 ::oWnd:nLastKey = VK_RETURN
                 ::oWnd:GoNextCtrl( ::hWnd )
              else
                 if Set( _SET_BELL )    <<< New!
                    MsgBeep()
                 endif                  <<< New!
              endif
           endif


Please email us privately to get an updated FW++ DLL and lib.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 28
Joined: Wed Nov 09, 2005 11:46 AM
Cannot turn off Bell at end of buffer entry in gets.
Posted: Tue Jan 10, 2006 11:00 PM

Hello Antonio,

Works just fine.

Thanks
Dan

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Cannot turn off Bell at end of buffer entry in gets.
Posted: Thu Jan 19, 2006 09:38 AM

gald to know it is ok :)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion