ScrollBarEx Region

ScrollBarEx Region - One more scrollbar control. - Messages

#1 Posted: 5/2/2014 10:35:17 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Scrollbar control based on Regions.Control class.

Show Spoiler


Password: test

Used as an example of the region without a place holder.

Links:

1. Custom Drawn Scrollbar (Thomas Duwe).
2014-05-02 20-28-54 SMath Studio Desktop - [Лист1 ].png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Andrey Ivashov 5/2/2014 11:24:00 AM, Davide Carpi 5/2/2014 11:38:00 AM
#2 Posted: 5/2/2014 11:41:04 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Cool

the right-click shows me an unhandled exception

************** text of exception **************
System.NullReferenceException: object reference not set to an instance of an object.
   in SMath.Control.Worksheet.GetStaticContextMenuItems(RegionBase[] regions)
   in ..(List`1 )
   in ..‡(Object , EventArgs )
   in System.Windows.Forms.ContextMenu.OnPopup(EventArgs e)
   in System.Windows.Forms.ContextMenu.Show(Control control, Point pos, Int32 flags)
   in System.Windows.Forms.Control.WmContextMenu(Message& m, Control sourceControl)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 5/2/2014 12:41:47 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

I decided to use my own Control class for quick porting of such components. Yes, some artifacts remain. This component will be used in a script (text) editor.

Regions.Control is a draft version, it's not so easy to create full functional Control class.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 5/2/2014 2:47:00 PM
  • New Posts New Posts
  • No New Posts No New Posts