|
-
Aug 4th, 2000, 09:11 PM
#1
Thread Starter
Lively Member
Anyone know how to trap an Onprint event for an
Access FORM
-
Aug 9th, 2000, 06:49 AM
#2
Member
This goes quite deep into vb, you have to do some subclassing, i recommend that you find a tutorial on subclassing, i believe there was one at http://www.vbsquare.com a while back. You will have to right your own function to handle events sent to the form, and any you know the form will handle or you dont want, you pass them back to the forms default fuction. I would use Spy++ to find out what message you are looking for first, then readup on subclassing, the theory is quite deep but once you get used to it, there really isn't that much to it.
Hope this helps,
Grant French
-----------------------------------------------
E-Mail: [email protected]
ICQ: 33122184
-
Aug 10th, 2000, 02:23 AM
#3
Thread Starter
Lively Member
thanks for your interest gfrench
after playing around with a few ideas I came up with an easier solution:
I created a utility toolbar to replace the form's default bars, and coded stuff in the 'on action' property of the print button
seems nice and neat !!
thanks again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|