Results 1 to 2 of 2
  1. #1

    How to assign a variable in ComboBox

    Can any one help me, how to assign a variable in ComboBox.
    Following would be my code

    for Variable = 1 to 5
    ComboBox "urllist", Variable , 'Left SingleClick'

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Wisconsin, USA

    Re: How to assign a variable in ComboBox

    Unless the choices available in the combo box are EXACTLY the same value as Variable, it will not work. They have to be EXACT matches, down to included spaces.

    If you wanted to pick the first, second, third, etc item on the combobox list, that is different. You would change your code in line 2 to this:
    ComboBox "urllist", "@"+str(Variable), 'Left SingleClick'



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:16 PM.

Copyright BetaSoft Inc.