Options

How to take control value in to a variable.

satish_navsatish_nav Member Posts: 65
edited 2011-07-20 in Dynamics AX
Hi,


I am new to Axapta/X++.

i have stringEdit(Text box) control in my form. I want to take the string value in to a variable, what i entered in the text box.

can any one plese guide me on this..
Thanks in advance..

Satish...

Comments

  • Options
    kranthikranthi Member Posts: 72
    Declare a variable.(str variable;)
    Change the auto declaration property of the string control to yes.(Name - stringControl)
    and override the modified method of the string control.
    variable = stringControl.text();
    Kranthi
  • Options
    satish_navsatish_nav Member Posts: 65
    Thank you kranthi.
    Before i done everything except to change the control property to yes.

    any way thank you..
    Thanks in advance..

    Satish...
Sign In or Register to comment.