How to Prevent the TEdit component from beeping when invalid ?



How to Prevent the TEdit component from beeping when invalid ?..

Answer / Indrajeet Kumar

To prevent the TEdit component from beeping when invalid, set the Sound property to nil or srNone.nnOnValidate(Sender: TObject): Boolean;nbeginn Sender.Sound := nil;n Result := True;nend;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to get the date of the last day in the current month?

1 Answers  


How to stop IIS when you are writing web applications as ISAPI dll's?

1 Answers  


How to change file attributes programmatically?

1 Answers  


How to create a power function?

1 Answers  


How to Get the actual size of a TComboBox?

1 Answers  


How to Add hint windows to applications?

1 Answers  


What should I give to Windows API functions that want a hWnd?

1 Answers  


How to use Access97 drivers with BDE 4.51 ?

1 Answers  


How to pass functions or procedures to other functions or procedures?

1 Answers  


How to detect the computer name?

1 Answers   Sr Comunications,


What databases can be used with dbExpress?

1 Answers  


How to Switch between different data sources?

1 Answers   Wipro,


Categories