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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Calling or performing Scroll Sub from another Sub

Calling or performing Scroll Sub from another Sub

Scheduled Pinned Locked Moved Visual Basic
questionhelp
5 Posts 3 Posters 1 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.
  • B Offline
    B Offline
    barkanb
    wrote on last edited by
    #1

    How can I make the function below to be performed from antoher sub? Private Sub gain_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles gain.Scroll You know there is a function PerformClick for Pushdown buttons. Appriciated for your help and support. Thanks. B.B.

    M 1 Reply Last reply
    0
    • B barkanb

      How can I make the function below to be performed from antoher sub? Private Sub gain_Scroll(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ScrollEventArgs) Handles gain.Scroll You know there is a function PerformClick for Pushdown buttons. Appriciated for your help and support. Thanks. B.B.

      M Offline
      M Offline
      Marcus J Smith
      wrote on last edited by
      #2

      Raise Event Gain.Scroll(sender, e)


      CleaKO

      "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
      "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

      N B 2 Replies Last reply
      0
      • M Marcus J Smith

        Raise Event Gain.Scroll(sender, e)


        CleaKO

        "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
        "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

        N Offline
        N Offline
        nlarson11
        wrote on last edited by
        #3

        or if you just want the content executed: gain_Scroll(nothing, nothing) 'when you don't care who's the sender or what's in e

        B 1 Reply Last reply
        0
        • N nlarson11

          or if you just want the content executed: gain_Scroll(nothing, nothing) 'when you don't care who's the sender or what's in e

          B Offline
          B Offline
          barkanb
          wrote on last edited by
          #4

          Thanks I will test those code lines and I will post the result..;)

          1 Reply Last reply
          0
          • M Marcus J Smith

            Raise Event Gain.Scroll(sender, e)


            CleaKO

            "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
            "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

            B Offline
            B Offline
            barkanb
            wrote on last edited by
            #5

            Thanks for the reply. It works now. Thank you both.:) B.B.

            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