Page 1 of 1

Cannot turn off Bell at end of buffer entry in gets.

Posted: Thu Dec 15, 2005 5:01 am
by Dan Landon
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

Posted: Thu Dec 15, 2005 9:16 am
by Antonio Linares
Dan,

Fixed. These lines were missing from Class TGet:

Code: Select all

           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.

Posted: Tue Jan 10, 2006 11:00 pm
by Dan Landon
Hello Antonio,

Works just fine.

Thanks
Dan

Posted: Thu Jan 19, 2006 9:38 am
by Antonio Linares
gald to know it is ok :)