User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,196 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,924 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 5148 | Replies: 16
Reply
Join Date: Sep 2006
Posts: 17
Reputation: eyad212 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
eyad212 eyad212 is offline Offline
Newbie Poster

Help tool strip button

  #1  
May 5th, 2007
i use a Button on tool strip menu any one can help me to write a code(function) so when i click it i get what i want
i dont want to use the mouse
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: NY
Posts: 195
Reputation: Dukane is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 15
Dukane's Avatar
Dukane Dukane is offline Offline
Junior Poster

Re: tool strip button

  #2  
May 5th, 2007
I don't understand your problem. How can you click on something in a toolbar without using the mouse?
Last edited by Dukane : May 5th, 2007 at 3:56 pm.
It is very important to read this: http://www.catb.org/~esr/faqs/smart-questions.html
Reply With Quote  
Join Date: Sep 2006
Posts: 17
Reputation: eyad212 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
eyad212 eyad212 is offline Offline
Newbie Poster

Re: tool strip button

  #3  
May 6th, 2007
i will press the Enter instead of press mouse click
Reply With Quote  
Join Date: Aug 2005
Posts: 4,832
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 324
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: tool strip button

  #4  
May 6th, 2007
Now we're beginning to make sense...

Would it be adding a menu shortcut

http://www.developerfusion.co.uk/show/1770/5/
... the hat of 'is this a cat in a hat?'
Reply With Quote  
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,019
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 33
Solved Threads: 116
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: tool strip button

  #5  
May 6th, 2007
Or if it's a form you can use tabindex/tabstop.
Reply With Quote  
Join Date: Aug 2005
Posts: 4,832
Reputation: iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light iamthwee is a glorious beacon of light 
Rep Power: 17
Solved Threads: 324
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: tool strip button

  #6  
May 6th, 2007
What do ya mean if it's a form? What else could it possibly be? Please explain?
... the hat of 'is this a cat in a hat?'
Reply With Quote  
Join Date: Sep 2006
Posts: 17
Reputation: eyad212 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
eyad212 eyad212 is offline Offline
Newbie Poster

Re: tool strip button

  #7  
May 16th, 2007
how can i use a tabindex/tabStop ???
is there a function (Code) i can use it inside the button??????
Reply With Quote  
Join Date: May 2007
Location: Warrington, England
Posts: 31
Reputation: SkinHead is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
SkinHead SkinHead is offline Offline
Light Poster

Re: tool strip button

  #8  
May 16th, 2007
Straight From MSDN :-

Control.TabIndex -

Gets or sets the tab order of the control within its container. Namespace: System.Windows.Forms

Control.TabStop - Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Namespace: System.Windows.Forms

For a control to be included in the tab order, its TabStop property must be set to true

Try Google "TabIndex" !!!!
Reply With Quote  
Join Date: Sep 2006
Posts: 17
Reputation: eyad212 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
eyad212 eyad212 is offline Offline
Newbie Poster

Re: tool strip button

  #9  
May 18th, 2007
i cant use tabindex cuase i used it for a text box , i must use a function (code) so if any one can help me !!!!!!!
Reply With Quote  
Join Date: May 2007
Location: Warrington, England
Posts: 31
Reputation: SkinHead is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
SkinHead SkinHead is offline Offline
Light Poster

Re: tool strip button

  #10  
May 18th, 2007
You'll Have To Excuse Me For Being Dense.

What Do You Mean - You Can't Use TabIndex Because You Used It For A TextBox ? Did You Not Read The Last Post ?

What Programming Environment Are You Working With ?

Web Stuff (.NET), Desktop Applications (VB6) ?

Is It That You Can Use A Mouse, But You Don't Want To ?

The Standard Way(s) To Do What You Want (Via The Keyboard) Is To Use ShortCuts (Ctrl-X, Alt-F4 etc) Or Use The Tab Key To Navigate To (Give Focus To) The Control In Question, And Use The <Enter> Key To Execute The Click Event.

If You're Convinced That You Can't Use These Methods, Then You'll Have To Explain Your Problem More Fully.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 3:48 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC