Difference between revisions of "TGradPageControl"

From Lazarus wiki
Jump to navigationJump to search
Line 2: Line 2:
  
 
==About==
 
==About==
Part of [[GradControls]]. TGradPageControl is a TCustomControl descendant. This TGradPageControl should be like or better than the normal TPageControl
+
Part of [[GradControls]]. TGradPageControl is a TCustomControl descendant. This TGradPageControl should be like or better than the normal TPageControl.
  
 
Current Version: '''0.1''' - ''unstable''
 
Current Version: '''0.1''' - ''unstable''
Line 10: Line 10:
 
* TGradDrawer (different Drawings with ThemeSupport, one Theme can works with all Drawer)
 
* TGradDrawer (different Drawings with ThemeSupport, one Theme can works with all Drawer)
 
* <s>Long Tabs on Right / Left Side</s>
 
* <s>Long Tabs on Right / Left Side</s>
* Events of all SubComponents - maybe useful
+
* <s>Events of all SubComponents</s>
 
* Close Buttons on Tabs
 
* Close Buttons on Tabs
 
* <s>Glyphs on Tabs or using ImageList with ImageIndex</s>
 
* <s>Glyphs on Tabs or using ImageList with ImageIndex</s>
* Scroll to Tab (if this Tab is not Displayed) - ''working but unstable''
+
* <s>Scroll to Tab (if this Tab is not Displayed)</s>
* Tabs-List PopupMenu (maybe as Button near the Scroll-Buttons or as Popup on the Scroll-Buttons)
+
* <s>Tabs-List PopupMenu</s> (Popup on the Scroll-Buttons)
 
* <s>PopupMenu Properties for each Page / Tab</s>
 
* <s>PopupMenu Properties for each Page / Tab</s>
 +
* Change the way how to order the scrollbuttons (Left, Tabs, Right OR Left,Right, Tabs or Tabs, Left,Right)
 +
* TGradTabControl
 +
* If Compiled the Pages are in the wrong Order as they are at the Designer
 +
 +
===Control during DesignTime===
 +
* Click on TabButtons
 +
* ImageList, set ImageIndex
 +
* Click on Page at the Object-Inspector and the Page should be selected at the Control, like TPageControl - Pages
  
 
===Demos===
 
===Demos===
 
* <s>Move Tabs with Drag'N'Drop</s>
 
* <s>Move Tabs with Drag'N'Drop</s>
* <s>Active Page with MouseWheel</s> - ''will work if ScrollToTab is stable''
+
* <s>Active Page with MouseWheel</s>
 
* Theme Selection (if TGradDrawer works)
 
* Theme Selection (if TGradDrawer works)
* Use Forms as Pages
+
* Theme Creator
 +
* <s>Use Forms as Pages</s>
 
* <s>Close Tabs with Mouse-Middle-Button</s>
 
* <s>Close Tabs with Mouse-Middle-Button</s>
 +
* Toggle the Page, only the Tab-Buttons are always shown
 +
* Not all Demos in one, foreach Demo a seperate Page/Form
  
 
==Autor==
 
==Autor==
 
'''[[User:EugenE|Eugen Bolz]]'''
 
'''[[User:EugenE|Eugen Bolz]]'''

Revision as of 02:00, 19 October 2008

Template:Translate

About

Part of GradControls. TGradPageControl is a TCustomControl descendant. This TGradPageControl should be like or better than the normal TPageControl.

Current Version: 0.1 - unstable

Todo

Control

  • TGradDrawer (different Drawings with ThemeSupport, one Theme can works with all Drawer)
  • Long Tabs on Right / Left Side
  • Events of all SubComponents
  • Close Buttons on Tabs
  • Glyphs on Tabs or using ImageList with ImageIndex
  • Scroll to Tab (if this Tab is not Displayed)
  • Tabs-List PopupMenu (Popup on the Scroll-Buttons)
  • PopupMenu Properties for each Page / Tab
  • Change the way how to order the scrollbuttons (Left, Tabs, Right OR Left,Right, Tabs or Tabs, Left,Right)
  • TGradTabControl
  • If Compiled the Pages are in the wrong Order as they are at the Designer

Control during DesignTime

  • Click on TabButtons
  • ImageList, set ImageIndex
  • Click on Page at the Object-Inspector and the Page should be selected at the Control, like TPageControl - Pages

Demos

  • Move Tabs with Drag'N'Drop
  • Active Page with MouseWheel
  • Theme Selection (if TGradDrawer works)
  • Theme Creator
  • Use Forms as Pages
  • Close Tabs with Mouse-Middle-Button
  • Toggle the Page, only the Tab-Buttons are always shown
  • Not all Demos in one, foreach Demo a seperate Page/Form

Autor

Eugen Bolz