Results 1 to 39 of 39

Thread: [2005] List1 selected items

Hybrid View

  1. #1

    Thread Starter
    Banned
    Join Date
    Jul 2007
    Posts
    400

    Re: [2005] List1 selected items

    I don't really get it what you are trying to say and tell me what to do. Can you discuss me a little more with an example code plz??


    Thanks,
    Mark
    Last edited by Mark103; Apr 12th, 2008 at 12:08 PM.

  2. #2
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: [2005] List1 selected items

    Maybe if I color code it that will help. I am asking you to tell me the ACTUAL DATA at specific points and times using YOUR button click code.

    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            debug.writeline (ComboBox1.SelectedItem)
            debug.writeline (ComboBox2.SelectedItem)
            'NOTE A
            If Me.ComboBox1.SelectedItem = "Item1" Then
    The output from debug.writeline (ComboBox1.SelectedItem) is _________

    The output from debug.writeline (ComboBox2.SelectedItem) is__________

    NOTE A - when we get to NOTE B what does:
    > combox1 contain?
    __________
    _________
    _________
    etc.


    > combox2 contain?
    __________
    _________
    _________
    etc.


    > listbox1 contain?
    __________
    _________
    _________


    After ALL of the code for
    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 
    ...
    End Sub 'NOTE B
    executes what SHOULD the comboboxes look like?

    NOTE B - when we get to NOTE B what does:
    > combox1 contain?
    __________
    _________
    _________
    etc.


    > combox2 contain?
    __________
    _________
    _________
    etc.


    > listbox1 contain?
    __________
    _________
    _________


    I don't know how to be more plain.
    Last edited by dbasnett; Apr 12th, 2008 at 01:18 PM.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

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