Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How to know what was selected in list box
SLX_Novice
Posts: 246
 
How to know what was selected in list boxYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Oct 12 9:09 AM
fiogf49gjkf0d

Hi All.


 


We have SLX LAN v7.2.1.


I have a listbox (lbReport) which has 3 fields: Report A, Report B and Report C.


I need to know how to look at the listbox and know which of the 3 fields the end user selected. 



So:


 


If listbox = "Report A" Then


do something


ElseIf listbox = "Report B" Then


do something else 


End If


 


Any help would be great.


 


Thank you in advance.

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: How to know what was selected in list boxYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Oct 12 11:22 AM
fiogf49gjkf0d

Here you go:


<p>    For i = 0 to lbReport.Items.Count - 1
        If lbArea.Selected(i) Then
' Do whatever you need to do

        End If
    Next

[Reply][Quote]
SLX_Novice
Posts: 246
 
Re: How to know what was selected in list boxYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Oct 12 12:33 PM
fiogf49gjkf0d

Thanks!

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/23/2025 5:30:08 AM