Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Would like to be able to select a different DetailsView
Martin Navarro
Posts: 18
 
Would like to be able to select a different DetailsViewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Sep 06 1:53 PM
fiogf49gjkf0d
I need to displasy two different forms base on a global flag on the Contacts Main View... I gues I can place the content of each into a panel but I would like to know the way to manipulate the ViewName Property of the DetailsView programmaticaly...

Thanks
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: Would like to be able to select a different DetailsViewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Sep 06 3:43 PM
fiogf49gjkf0d
I don't think you can achieve what you're looking for programmatically. The DetailsView property is an object so there is no way of setting it reliably (unless of course you knew how to create and populate the object). The only other property I know of that behaves this way is the picklist's PickList property that is an object but also has the PickList.Name property which allows you to set it to the string representation. DetailsView has no such "subproperty" in 6.2 at least (typing Application.MainViews.ActiveView.DetailsView. brings up nothing in Intellisense) but it may be different for v7.

What you could do is either create one detail view that has a "base" panel with all information then 2 segregated panels that you will show/hide based on the global flag. That's the easiest approach. The harder approach would be to use a "base" detail view and show a different view as the middlepane based on the global flag. I've personally gone the panel route so I know it works, the middlepane route should work in theory but it may suffer from the same problem the detailsview property does.
[Reply][Quote]
Martin Navarro
Posts: 18
 
Re: Would like to be able to select a different DetailsViewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Sep 06 5:22 PM
fiogf49gjkf0d
Thanks Jeremy...
sometimes knowing what you cannot do is as good as knowing what to do... This way, I wll not waste more time trying something that will never work... Again: 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 © 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): 11/22/2024 7:59:23 PM