TOPIC: beep on opening window
#1870
beep on opening window 6 Months, 4 Weeks ago
Hi, just small thing: i get several beep when Suneido opens window/dialog. Can it be switched off? Is on vista, dont know for others window versions.
 
 
#1871
Re:beep on opening window 6 Months, 4 Weeks ago
Create a member variable on global Suneido:

Suneido.Add(#BeepDisabled)

Or look at the global function Beep and modify it like this

Beep
// Copyright (C) 2000 Suneido Software Corp. All rights reserved worldwide.
function ()
{
//if not Suneido.Has?(#BeepDisabled)
if Suneido.Has?(#BeepEnabled)
{
// try both
MessageBeep(-1);
MessageBeep(0);
}
}
 
 
Last Edit: 2010/01/26 20:15 By mingodad.
 
#1873
Re:beep on opening window 6 Months, 4 Weeks ago
AccessControl beeps of you open it on a table (query) with no records. This is because it does next/prev on startup and next/prev beep when the hit the end (which they will if there are no records)

I'm not sure what else would be beeping when you open a window/dialog.

You could put StackTrace() into Beep to see what was calling it.
 
 
andrew
 
#1877
Re:beep on opening window 6 Months, 3 Weeks ago
Thanks!! I use class based on Access, I remove the beep instructions. It is fine now...