Results 1 to 3 of 3

Thread: [RESOLVED] Value on on Button Click

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    76

    Resolved [RESOLVED] Value on on Button Click

    if i have a variable A. How would i set it up so that if i click button update the variable would get it value from the listview item but if i click button Add then the varialbe would get it value from a combo box

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Value on on Button Click

    Code:
    Private Sub cmdUpdate_Click()
    VariableA = ListView1.Text
    End Sub
    
    Private Sub cmdAdd_Click()
    VariableA = Combo1.Text
    End Sub
    Is this what you mean?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    76

    Re: Value on on Button Click

    yup hehe it so simple n my head was so blank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width