Selected or Not?

Results 1 to 2 of 2

Thread: Selected or Not?

  1. #1
    Join Date
    Dec 1969

    Default Selected or Not?

    I have a form with a listbox. The problem is, i want to know if the listbox is selecteed or not. What is the syntax? Please Help<BR><BR>Example :<BR>&#039;Reporter is the id of listbox<BR><BR><BR>If Reporter.Selected = true then &#039;do u understand what i mean? <BR>&#039;bla bla bla<BR>End If

  2. #2
    Join Date
    Dec 1969

    Default RE: Selected or Not?

    Hi,<BR><BR>You can try the following code <BR><BR>If Reporter.SelectedIndex!=-1 Then<BR>&#039;It is selected<BR>else<BR>&#039;It is not selected<BR>End If<BR>

Posting Permissions

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