Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
Scrollbar control based on Regions.Control class.
Password: test Used as an example of the region without a place holder. Links: 1. Custom Drawn Scrollbar ( Thomas Duwe). Edited by user 28 October 2014 20:17:43(UTC)
| Reason: Not specified uni attached the following image(s): |
Russia ☭ forever Viacheslav N. Mezentsev |
2 users thanked uni for this useful post.
|
on 02/05/2014(UTC), on 02/05/2014(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1331 time(s) in 876 post(s)
|
Cool the right-click shows me an unhandled exception Code:************** 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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
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 user thanked uni for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.