Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default adding usr defined event procedure of textbox in usrform ??



i want to make two event procedure(TextBox1_LostFocus,TextBox1_GotFocus)
except default event(TextBox1_Change,
TextBox1_KeyDown,TextBox1_MouseMove...)

how to add event proc in default textbox????
please,,,

thank you very much.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 123
Default adding usr defined event procedure of textbox in usrform ??

For TextBox1_GotFocus use the TextBox1_Enter event and for
TextBox1_LostFocus use TextBox1_Exit event.

These event can be used for other types of controls (CommandButton,
CheckBox) etc. also.
These are same as GotFocus and LostFocus events, and work same way when
ever the control gets or loses focus.

Additionally when the form is loaded, _Enter event for the active
control the will be fired. When the form is unloaded, _Exit event for
the control which was active, will be fired.

Sharad

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default adding usr defined event procedure of textbox in usrform ??



thank you very so much
hqppy to you for new year(2005)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
workbook_Open event Procedure peerless Excel Discussion (Misc queries) 0 May 22nd 06 10:16 PM
change event procedure benb Excel Programming 2 September 24th 04 09:22 PM
Event Procedure Programming Jeff Armstrong Excel Programming 1 July 29th 04 03:54 PM
textbox formula outside procedure bg18461[_6_] Excel Programming 3 May 26th 04 10:36 PM
OnTime event not firing in Workbook_Open event procedure GingerTommy Excel Programming 0 September 24th 03 03:18 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"