Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 3 of 3 total |
Default session events |
Mon, Feb 27 2012 7:06 AM | Permanent Link |
Geir Bratlie | Hi!
Is there a way to use or override the default sessions events in a program, like "session. OnRemoteTimeout" How do I do that? I would also like to say thank you for an amazing product. Kind regards, Geir Bratlie |
Mon, Feb 27 2012 8:28 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Geir
You can drop a session component on the form and use that as with any Delphi component. If you don't want to do that then open a blank form, drop a session component on it and double click the events to create them. That will give you a template eg procedure TForm1.DBISAMSession1RemoteTimeout(Sender: TObject; var StayConnected: Boolean); begin end; Put that (and the code you want in it) into your app, add it to the forms type declaration (above private) and you can then assign the event to the default session at run time eg session.OnRemoteTimeout := RemoteTimeout; I'd recommend dropping the session component onto the form - its easier in the long run Roy Lambert [Team Elevate] |
Mon, Feb 27 2012 10:39 AM | Permanent Link |
Geir Bratlie | Thank you!
|
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |