From: "SEV, AV Guest 2" <avguest2@barco.com>
Subject: Re : Troubles with MessageBeep | Beep...
Date: 1999/07/15
Date: 1999-07-15T00:00:00+00:00 [thread overview]
Message-ID: <2461CF0DA7DBD211B07300805F921CBC01D8B985@kuumex03.barco.com> (raw)
As they say... RTFM...
Beep & MessageBeep are functions....
The following code is really annoying but it works...
------------------------------------------------------------------------
--
with Win32, Win32.WinUser, Win32.WinDef, gbObjects, Win32.WinBase;
use type Win32.Int, Win32.Bool, Win32.WinDef.hWnd;
use gbObjects, Win32.WinBase;
package Window1 is
Form : gbMainWindow;
Button1 : gbButton;
procedure Initialize_Form;
end Window1;
package body Window1 is
procedure Button1_Click is
b : Win32.bool;
begin
b:=Beep(5000,5000);
end Button1_Click;
procedure Initialize_Form is
begin
Button1.Click := Button1_Click'Access;
Text(Button1, "Button1");
SetFont(Button1, "MS Sans Serif", 8, gbFalse, gbFalse, gbFalse);
Move(Button1, 44, 39, 137, 47);
Text(Form, "Window1");
SetFont(Form, "MS Sans Serif", 8, gbFalse, gbFalse, gbFalse);
Move(Form, 3, 126, 229, 152);
Visible(Form, gbTrue);
end Initialize_Form;
begin
Initialize_Form;
end Window1;
with gbObjects;
with Window1;
procedure Main is begin
gbObjects.gbStartApplication;
end Main;
------------------------------------------------------------------------
-----
Sorry if I waste your time with this....
Thnx anyway, Bart.
next reply other threads:[~1999-07-15 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-15 0:00 SEV, AV Guest 2 [this message]
1999-07-15 0:00 ` Troubles with MessageBeep | Beep Dale Stanbrough
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox