PC Review


Reply
Thread Tools Rate Thread

AcceptButton

 
 
Al Biheiri
Guest
Posts: n/a
 
      25th Jun 2006
how do i create an AcceptButton in c#

user presses enter on textbox = button1.click

something like
AcceptButton = button1
 
Reply With Quote
 
 
 
 
Barry Kelly
Guest
Posts: n/a
 
      25th Jun 2006
"Al Biheiri" <(E-Mail Removed)> wrote:

> how do i create an AcceptButton in c#
>
> user presses enter on textbox = button1.click
>
> something like
> AcceptButton = button1


You got it - "form.AcceptButton = button1;", System.Windows.Forms.Form
class, AcceptButton property.

-- Barry

--
http://barrkel.blogspot.com/
 
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
Menustrip //acceptbutton =?Utf-8?B?THVj?= Microsoft Dot NET Framework Forms 2 8th Nov 2007 06:22 PM
Using RichTextBox when having AcceptButton Mats-Lennart Hansson Microsoft Dot NET Framework Forms 0 5th Dec 2005 09:07 AM
acceptbutton =?Utf-8?B?anMxMzAw?= Microsoft VB .NET 3 27th Jun 2005 04:39 PM
AcceptButton and Key-Events Frank Lakmann Microsoft Dot NET Framework Forms 1 7th Oct 2004 01:37 PM
RichTextBox and AcceptButton Jeff Haumesser Microsoft VB .NET 7 29th Dec 2003 07:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:06 PM.