Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. trapping dockpadding changes

trapping dockpadding changes

Scheduled Pinned Locked Moved C#
question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    microsoc
    wrote on last edited by
    #1

    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

    L 2 Replies Last reply
    0
    • M microsoc

      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

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • M microsoc

        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

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • L leppie

          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

          M Offline
          M Offline
          microsoc
          wrote on last edited by
          #4

          :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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups