Author Topic: Drop Downs  (Read 6537 times)

0 Members and 1 Guest are viewing this topic.

Offline KnotHead

  • Newbie
  • Posts: 5
    • View Profile
Drop Downs
« on: March 01, 2019, 06:27:19 pm »
I have a drop down inserted to the form and one item showing. Now I need 4 items in the list.

How do I add more items?

Brian.

FellippeHeitor

  • Guest
Re: Drop Downs
« Reply #1 on: March 01, 2019, 08:23:07 pm »
AddItem ListBox1, "New item" 'ListBox1 should be the name you gave to the control you added to your form.

More list methods here: https://github.com/FellippeHeitor/InForm/wiki/List-methods

FellippeHeitor

  • Guest
Re: Drop Downs
« Reply #2 on: March 01, 2019, 08:25:08 pm »
Now, if you want to add more items at design time, then you just separate them using a new line escape sequence (\n), as in Item 1\nItem 2\nItem 3\nEtc...

Offline KnotHead

  • Newbie
  • Posts: 5
    • View Profile
Re: Drop Downs
« Reply #3 on: March 01, 2019, 08:29:57 pm »
Thank you.