Tone when the user fills an edit box.

Tone when the user fills an edit box.

Postby Ollie » Wed Jan 03, 2007 10:19 pm

Can you make a tone when the user fills an edit box?

e.g. He types '12345' in a 4 CHAR field - Can one make it beep when he types the 5?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie
 
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Postby Antonio Linares » Wed Jan 03, 2007 11:02 pm

Ollie,

#include "set.ch"

...

Set( _SET_BELL, .T. )
regards, saludos

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


Postby Antonio Linares » Wed Jan 03, 2007 11:03 pm

Enrico,

right as usual :-)
regards, saludos

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

Postby Enrico Maria Giordano » Wed Jan 03, 2007 11:10 pm

Your suggestion is also right, Master! :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 63 guests