Notifications
Announcements
No record found.
i've a form with 2 text box(realEdit,StringEdit),2 field
how to copy the value from real text box to string text box and string text can edit value and update on field
*This post is locked for comments
Hi
For example:
public void textChange(){ super(); StringEdit.text(RealEdit.valueStr());}
Are your control linked to a datasource? If yes the value will be updated once the form is closed for copying you can use StringEdit.text(any2str(RealEdit.realValue())
first you need to make AUTODECLARATION TRUE in both filed properties
then override modified method
and write below code after ret = super();
for set real to string use
StringEdit.text(RealEdit.valueStr());
and for set stringedit to realedit
RealEdit.realValue(str2num(StringEdit.valueStr()));
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2