Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline uni  
#1 Posted : 02 May 2014 17:35:17(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

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):
2014-05-02 20-28-54 SMath Studio Desktop - [Лист1 ].png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 02/05/2014(UTC),  on 02/05/2014(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 02 May 2014 18:41:04(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,648
Man
Italy
Location: Italy

Was thanked: 1331 time(s) in 876 post(s)
Cool OK

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
Offline uni  
#3 Posted : 02 May 2014 19:41:47(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

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
thanks 1 user thanked uni for this useful post.
on 02/05/2014(UTC)
Users browsing this topic
Guest
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.