12/14/2025 10:46:03 AM
|
| |
| 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!
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
|
|
|
|
Change ShowOnEdit value in Code
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 |
|
|
|
Re: Change ShowOnEdit value in Code
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 |
|
|
|
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!
|
|
|
|
|
|
|
|