Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, May 6, 2024 
 
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: Cycle through all controls on view
Paul Riegle
Posts: 9
 
Cycle through all controls on viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 06 8:25 AM

lexapro side effects skin

lexapro side effects in women open lexapro side effects in men

medication abortion

medical abortion website
fiogf49gjkf0d
I'm sure this is probably simple, but does anyone know how to cycle through all the controls on a view? I know you can cycle through all views with:
For i = 0 to Application.MainViews.Count - 1
aViewName(i) Application.MainViews.Item(i).Name
Next

I have like 40 checkboxs on a view and would much rather be able to get the names/values by three lines of code instead of 40.
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Cycle through all controls on viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 06 11:40 AM
fiogf49gjkf0d
Use the form properties to get the number of controls and the control collection:

frmName.ControlCount
frmName.Controls

Timmus
[Reply][Quote]
Paul Riegle
Posts: 9
 
Re: Cycle through all controls on viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 06 12:30 PM
fiogf49gjkf0d
thanks timmus...i knew it was easy. just getting back into things...
[Reply][Quote]
Paul Riegle
Posts: 9
 
Re: Cycle through all controls on viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 06 1:55 PM

lexapro

lexapro 3xi.dk
fiogf49gjkf0d
nm...it worked
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Cycle through all controls on viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Apr 06 2:22 PM
fiogf49gjkf0d
BTW, you can see an example here: http://saleslogixblog.com/rfarley/archive/2004/07/26/925.aspx
[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 © 2024 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): 5/6/2024 8:47:46 AM