Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
QuestionTaborder in toolbar? Pin
netogg3-Jul-09 2:16
netogg3-Jul-09 2:16 
AnswerRe: Taborder in toolbar? Pin
Henry Minute3-Jul-09 3:11
Henry Minute3-Jul-09 3:11 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 3:39
netogg3-Jul-09 3:39 
GeneralRe: Taborder in toolbar? Pin
Henry Minute3-Jul-09 3:46
Henry Minute3-Jul-09 3:46 
AnswerRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 5:23
professionalDaveyM693-Jul-09 5:23 
GeneralRe: Taborder in toolbar? [modified] Pin
netogg3-Jul-09 6:05
netogg3-Jul-09 6:05 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 6:23
professionalDaveyM693-Jul-09 6:23 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 6:40
netogg3-Jul-09 6:40 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 9:11
professionalDaveyM693-Jul-09 9:11 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 12:10
netogg3-Jul-09 12:10 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 20:02
professionalDaveyM693-Jul-09 20:02 
GeneralRe: Taborder in toolbar? Pin
netogg4-Jul-09 0:35
netogg4-Jul-09 0:35 
GeneralRe: Taborder in toolbar? Pin
DaveyM694-Jul-09 11:50
professionalDaveyM694-Jul-09 11:50 
GeneralRe: Taborder in toolbar? Pin
DaveyM696-Jul-09 23:14
professionalDaveyM696-Jul-09 23:14 
GeneralRe: Taborder in toolbar? Pin
netogg7-Jul-09 8:07
netogg7-Jul-09 8:07 
GeneralRe: Taborder in toolbar? Pin
netogg7-Jul-09 9:16
netogg7-Jul-09 9:16 
GeneralRe: Taborder in toolbar? CanSelect? Pin
netogg7-Jul-09 9:57
netogg7-Jul-09 9:57 
Continuing from the previous code... In my example i had 4 ToolStripButtons and panel1 inserted at position2 in a Toolbar.

Put a break on the added code in the Constructor and debug. Step once withF11.
In the watch Window add 'toolStrip1'. Follow the tree to:

toolStrip1.Items.base.Non-Public members.System.Windows.Forms.ToolStripItemCollection]. owner.Items.Non-Puclic members.base._innerList

Each of the Items in the List represent the Properties of a Control on the ToolStrip. And each of these (toolStripButtons) have their CanSelect property to true. Except for the inserted Control (ToolStripHostControl) at position 2 == Item[2], the third item in the List, which has CanSelect false.

This might be an explanation for the problem.

Now how does the CanSelect property get there? And how do I set its value? Better yet, how to solve this???
Questionmssql version problem Pin
leone3-Jul-09 1:51
leone3-Jul-09 1:51 
AnswerRe: mssql version problem Pin
Manas Bhardwaj3-Jul-09 2:07
professionalManas Bhardwaj3-Jul-09 2:07 
GeneralRe: mssql version problem Pin
leone3-Jul-09 5:58
leone3-Jul-09 5:58 
AnswerRe: mssql version problem Pin
K03063-Jul-09 2:21
K03063-Jul-09 2:21 
GeneralRe: mssql version problem Pin
leone3-Jul-09 6:08
leone3-Jul-09 6:08 
AnswerRe: mssql version problem Pin
Luc Pattyn3-Jul-09 6:20
sitebuilderLuc Pattyn3-Jul-09 6:20 
QuestionReading excel file in blocks Pin
sankar i3-Jul-09 1:28
sankar i3-Jul-09 1:28 
AnswerRe: Reading excel file in blocks Pin
padmanabhan N3-Jul-09 1:44
padmanabhan N3-Jul-09 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.