Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [Source Code] Steuerelement beweglich machen ;D


    iPwn
     Share

    Recommended Posts

    Hallo ich zeige euch mal wie ihr ein Steuerelement beweglich machen könnt ;D

    Habs hier mit nem Button gemacht können aber auch Textboxn , Listboxn oder andere Steuerelemente sein

    	Shared blabla1 As Boolean
    Private Sub Form1_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
    	If blabla1 = True Then
    		Button1.Location = e.Location
    	End If
    End Sub
    
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    	If Not blabla1 Then
    		blabla1 = True
    	Else
    		blabla1 = False
    	End If
    
    End Sub

    Link to comment
    Share on other sites

    Lesen sollte man können hm..?

    Titel : Steuerelemente beweglich machen

    Steuerelemente = Buttons , Textboxen, Checkboxen ,RadioButtons , PictureBoxen , etc.

    Wird habs für mein eigenes Paint benutzt

    damit man z.B. den Button für den Pinsel an eine beliebige Stelle schieben konnte die einem am besten gefällt.

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...