It works fine when i put the "komp1.text("dgfsgsg");" under a button
but how do i updated the stringedit so there are values for the user
when the form is opened.


--- In [EMAIL PROTECTED], Palle M�lgaard <[EMAIL PROTECTED]>
wrote:
>
> In the methods "under" a control (a stringedit or any other
control), "this" refers to the control.

> The different types of controls have different methods to get and
change the value. Stringedit has the method text() for this purpose.

> In methods not undet the control, you refer to the control by name
(in your case "Komp1"). This requires that you set the
Autodeclaration property to "yes".

> Med venlig hilsen

>     Palle M�lgaard
>     Systemate A/S

>
>
> ________________________________
>
>       From: affekatz [mailto:[EMAIL PROTECTED]
>       Sent: 25. november 2004 12:45
>       To: [EMAIL PROTECTED]
>       Subject: [development-axapta] StringEdit in form
>      
>      
>      
>      
>       I need to assign a value to a StringEdit in a method under
the form.
>       The name of the StringEdit is "StringEdit:Komp1" but i dosn't
work to
>       do this StringEdit:komp1 = a; in a method "under" the
StringEdit
>      
>       Thanks in adv.
>      
>      
>      
>      
>      
>      
>      
>      
> Yahoo! Groups Sponsor     
> ADVERTISEMENT
> click here
<http://us.ard.yahoo.com/SIG=1291c488t/M=298184.5639630.6699735.300117
6/D=groups/S=1705006764:HM/EXP=1101470113/A=2434971/R=0/SIG=11eeoolb0/
*http://www.netflix.com/Default?mqso=60185400>      
>  <http://us.adserver.yahoo.com/l?
M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=5230474
72>      
>
>      
> ________________________________
>
>       Yahoo! Groups Links
>      
>
>       *      To visit your group on the web, go to:
>             http://groups.yahoo.com/group/development-axapta/
>              
>       *      To unsubscribe from this group, send an email to:
>             [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>              
>       *      Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been removed]







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to