Coder Social home page Coder Social logo

mditabctrl's Introduction

MDI TAB CONTROL

Well behold a highly configurable MDI tab control for c# to use as tabbed MDI forms

FEATURES OF THIS CONTROL

This tab control is specific to creating a MDI interface with one tab page for each form. Some of the behaviours that were implemented are:

  1. Always open the new page at the first tab
  2. Hide the tab pages that can't fit in the screen
  3. Don't scroll tab pages, instead, bring a hidden tab page to the first position when it's selected
  4. Have a list of the tab pages (forms) in a drop down menu
  5. Ability to reorder tabs by dragging
  6. Easy owner draw
  7. Close button at the tab
  8. Clicking on overlapped part of the tab does not select the other tab and also
  9. Clicking outside the border doesn't select the tab (achieved by the Region property)
  10. Expose the maximum of functionality and configurability as possible
  11. Very simple to use

WHAT CAN BE CUSTOMIZED IN THIS CONTROL

Almost everything. To understand the control, let's take a look at the objects and regions.

  • The first two lines are the TopSeparator
  • Followed by the TabTop
  • On the left the Tabs area
  • On the right the Control Buttons area
  • The space between the tabs is the TabOffset
  • All the bottom part is the form

HOW TO USE THIS CONTROL

Nuget Package

mditabctrl's People

Contributors

jacksiroke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mditabctrl's Issues

Autoscroll does not work

I tried the sample project and added a few controls and labels and set the autoscroll to true.
When I resized the main window there were no scrollbar present. I might have missed something or this feature had not been implemented? Thank you for the great project.

Object reference not set to an instance of an object

Hi,

After installing via Nuget when I try to view my Form (designer) in Visual Studio 2019 I get the following error message:

image

Any idea how to solve this as it keeps appearing even after restarting VS2019?

Thanks

Tab active

I can't figure out how to make the tab active if it is already open. I will be very grateful for the hint. I use the c# Windows Forms, Nuget package.

To open the desired tab, I use the following code:
Form cform;
cform = new Profile();
if (Application.OpenForms.OfType().Any())
{
return;
}
tabControl1.TabPages.Add(cform);

I need to go to the tab with this form if the form is already open.

Multiple tabs cannot display scrollbars

Hello, this control is very useful. If you have a question, please ask for advice. How to display the scroll bar when I have more than ten or more, I have set the automatic scroll bar, but it has no effect

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.