Results 1 to 2 of 2

Thread: Visual Inheritance

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Visual Inheritance

    Hello There,

    Do you have any idea on these, I have ToolStrip Control drop in my Base Form.and in my inherited form.. the toolstrip editor will not inherited. is there any way to inherit also the editor of the toolstrip.

    Thank you,
    gja

  2. #2
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Visual Inheritance

    Not that I have found, and I have looked. I just added my "extra" buttons by code in the child form.

    Code:
    		tmiToolBar_EditRules = New ToolStripButton  'I keep a local ref to it, but you do not have to as long as you have a handler to it
    		With tmiToolBar_EditRules
    			.Alignment = ToolStripItemAlignment.Right
    			.Overflow = ToolStripItemOverflow.AsNeeded
    			.DisplayStyle = ToolStripItemDisplayStyle.Image
    			.Image = My.Resources.Common_EditDialog.ToBitmap
    			.ToolTipText = "Edit Notification Rules"
    		End With
    		toolDefault.Items.Add(tmiToolBar_EditRules)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width