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

Post Reply
Dan Landon
Posts: 28
Joined: Wed Nov 09, 2005 11:46 am

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

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Dan Landon
Posts: 28
Joined: Wed Nov 09, 2005 11:46 am

Post by Dan Landon »

Hello Antonio,

Works just fine.

Thanks
Dan
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

gald to know it is ok :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply