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!
 Administration Forums - Mobile/PDA/Handhelds
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Mobile/PDA/Handhelds | New ThreadView:  Search:  
 Author  Thread: Change ShowOnEdit value in Code
Martin Rudnick
Posts: 52
 
Change ShowOnEdit value in CodeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Apr 09 2:11 PM
Using mobile 5.1 on a BlackBerry
I would like to toggle the ShowOnEdit value of the Email control from false to true depending on a value of the donotemail field. If DNE=true, then hide the email control and show the email address as standard edit control. Is it possible to access the showonedit of the control? If so, how? I've tried a number of derivatives similar to:
cmpEditField textEmail = (CMPEditField)super.getControl("txtEmail");
textEmail.setShowOnEdit(true);
I was taking a stab in the dark trying the above statement and missed. Any help is appreciated. Thanks!

Martin
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Change ShowOnEdit value in CodeYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Apr 09 6:45 AM
Martin, at the time this code has been made the 'ShowOnEdit' stuff is no longer valid. I would expect your best approach is to remove the control from the undelying field manager and insert a new one instead.

Mark
[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 10:32:36 AM