You are not logged in.

fallon416

Beginner

  • "fallon416" started this thread

Posts: 28

Date of registration: Mar 26th 2010

  • Send private message

1

Friday, March 26th 2010, 8:48pm

listbox support

Hi,

I'm having a bit of a problem with the ListBox control. In vb there are number of ways to get the selected item of a listbox:

method 1:

If lstPlaylist.ListIndex <> -1 Then
lblTitle.Caption = lstPlaylist.List(lstPlaylist.ListIndex)
End If


method 2: lblTitle.Caption = lstPlaylist.Text

How is it done in Jabaco?

fallon416

Beginner

  • "fallon416" started this thread

Posts: 28

Date of registration: Mar 26th 2010

  • Send private message

2

Saturday, March 27th 2010, 3:34am

I figured it out. I was being a meat head and put the code in the wrong section.

This works:

lblTitle.Caption = lstPlaylist.List(lstPlaylist.ListIndex)

Neil

Rate this thread
WoltLab Burning Board