PC Review


Reply
Thread Tools Rate Thread

Custom Button Click Event Question

 
 
Bingo
Guest
Posts: n/a
 
      27th Jan 2005

I added a button on P.2 tab on a custom form. How do I
add code for the button click event? Thanks.
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      27th Jan 2005
You type it into the form's code window, which you display with the View
Code button.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Bingo" <(E-Mail Removed)> wrote in message
news:17d701c5049c$3aa6daf0$(E-Mail Removed)...
>
> I added a button on P.2 tab on a custom form. How do I
> add code for the button click event? Thanks.



 
Reply With Quote
 
Hollis D. Paul
Guest
Posts: n/a
 
      27th Jan 2005
In article <17d701c5049c$3aa6daf0$(E-Mail Removed)>, Bingo wrote:
> I added a button on P.2 tab on a custom form. How do I
> add code for the button click event? Thanks.
>

<< You type it into the form's code window, which you display with the
View Code button.>>

Don't forget to type in the Handler stub first:

Sub <control name>_click()

<<your code goes here>>

end Sub

Hollis D. Paul [MVP - Outlook]
(E-Mail Removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/...=TECH&LN=EN-US

Mukilteo, WA USA


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom GridView with Button - Click Event Not Firing ADN Microsoft ASP .NET 0 22nd Apr 2008 02:32 PM
Event Handler for button click in Custom WebControl =?Utf-8?B?Tm92aWNl?= Microsoft ASP .NET 0 24th Sep 2004 02:19 PM
Trying to create Custom WebControl with Button click event method =?Utf-8?B?Tm92aWNl?= Microsoft ASP .NET 2 23rd Sep 2004 11:11 PM
button click event question Tony Microsoft C# .NET 2 5th Jul 2004 07:12 AM
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl. jorge Microsoft ASP .NET 2 26th May 2004 12:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:49 AM.