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. Scroll on two controls

Scroll on two controls

Scheduled Pinned Locked Moved C#
help
3 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
    mamirbalouch
    wrote on last edited by
    #1

    i am trying to create an excel like interface where headers must remain still verticaly and the detail section can be scrolled. but when user will scroll detail section horizontly, header section must also scroll accordingly. i have put bot in different rows of tableLayoutPanel and a panel control is containing headers and another panel is containing detail section. i have also wrote some code in OnScroll event procedure but still unable to achieve my goal. need help!

    ************************* SetNewGoal: while (GoalNotAchieved){} goto SetNewGoal; *************************

    S 1 Reply Last reply
    0
    • M mamirbalouch

      i am trying to create an excel like interface where headers must remain still verticaly and the detail section can be scrolled. but when user will scroll detail section horizontly, header section must also scroll accordingly. i have put bot in different rows of tableLayoutPanel and a panel control is containing headers and another panel is containing detail section. i have also wrote some code in OnScroll event procedure but still unable to achieve my goal. need help!

      ************************* SetNewGoal: while (GoalNotAchieved){} goto SetNewGoal; *************************

      S Offline
      S Offline
      Seishin
      wrote on last edited by
      #2

      why don't you try modiffying DataGridView?!.. (or DataGrid in framework 1.1)..

      life is study!!!

      M 1 Reply Last reply
      0
      • S Seishin

        why don't you try modiffying DataGridView?!.. (or DataGrid in framework 1.1)..

        life is study!!!

        M Offline
        M Offline
        mamirbalouch
        wrote on last edited by
        #3

        what i am trying to create is not exactly an excel sheet. basically it is an admin section of Media Schedular Application which shows schedules defined in schedule controls in detail section and the header contains a ruler bar to show the scale in minutes. this schedular shows records for one month and of all four quarters of screen.

        i have two panel controls named pnlHeader (no scroll bars) and pnlDetail (both vertical and horizontal scroll bars). when a user scrolls vertically up and down on pnlDetail, there is no effect on pnlHeader but when user will scroll horizontly on pnlDetail the other panel named pnlHeader will also scroll accordingly.

        ************************* SetNewGoal: while (GoalNotAchieved){} goto SetNewGoal; *************************

        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