trapping dockpadding changes
-
hi there! :) is there a way in a scrollable control to trap dockpadding changes?:^) like an event or a virtual method that i can override? :sigh: tnx in advance!:-D
System.Windows.Forms.Control.OnDockChanged(EventArgs) : Void
[edit]Oops read wrong, monday :sigh: [edit] xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots -- modified at 3:16 Monday 12th September, 2005 -
hi there! :) is there a way in a scrollable control to trap dockpadding changes?:^) like an event or a virtual method that i can override? :sigh: tnx in advance!:-D
Look down the call graphs of the set property for the DockPadding, it seems OnLayout will be called after any changes to it. Just handle it there :-> xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
-
Look down the call graphs of the set property for the DockPadding, it seems OnLayout will be called after any changes to it. Just handle it there :-> xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
:doh: thanks!:) just another thing, how about during design time? because it's only triggered when you changed the value & reload the form... is there a way that it's automatically triggered when you change the value even without reloading the form? :sigh: thanks again! :) microsoc -- modified at 3:45 Monday 12th September, 2005