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

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

Postby Dan Landon » Thu Dec 15, 2005 5: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
Dan Landon
 
Posts: 28
Joined: Wed Nov 09, 2005 11:46 am

Postby Antonio Linares » Thu Dec 15, 2005 9:16 am

Dan,

Fixed. These lines were missing from Class TGet:
Code: Select all  Expand view  RUN
           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
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Dan Landon » Tue Jan 10, 2006 11:00 pm

Hello Antonio,

Works just fine.

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

Postby Antonio Linares » Thu Jan 19, 2006 9:38 am

gald to know it is ok :)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 6 guests