true..u have to make the control auto decalraytion as Yes

Mallikarjun Gudidevuni <[EMAIL PROTECTED]> wrote:  hi,
  For any control, if u want to use in X++, u need to set the AutoDeclaration property to "yes".
  1. say the textfields are txt1 and txt2 and the button is button1
  the code is like this
  if(txt1.text() && txt2.text())
             button1.enable(true);
  else
            button1.enable(false);
 

Dipankar Paul <[EMAIL PROTECTED]> wrote:
 
Hi all,
     
                    I  need your help for these queries,i have a  table and a form with some control button in it.Now i want to access these button using X++ code..
Eg,
1) Suppose there are two text fields and a button.If  i enter some text in the those fields then only the button should get activated.

2) Suppose, there are two tabs(Not two tab pages) in the single  form i.e Login form for student & administrator ,when the student text area is selected the administrator text area should be deactiveted & vise versa.

Student                                   Admin
Name::                                    Name::
Reg No::                                 Password::
                                                  
  |  ok  |                                    |  ok    |
                                                  

Please,help me out  how to define  and  declare  a  class and access the controls on the form .As i am very new to this field,your reply with some sample code will highly be appreciated.

Thank & Regards
Dipankar,
Bangalore,India
+919886267931.  




[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.



  SPONSORED LINKS
        Business finance course   Business to business finance   Small business finance     Business finance consultant   Business finance magazine   Business finance schools
   
---------------------------------
  YAHOO! GROUPS LINKS

   
    Visit your group "Axapta-Knowledge-Village" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------
 



           
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.



  SPONSORED LINKS
        Business finance course   Business to business finance   Small business finance     Business finance consultant   Business finance magazine   Business finance schools
   
---------------------------------
  YAHOO! GROUPS LINKS

   
    Visit your group "Axapta-Knowledge-Village" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------
 






                 
---------------------------------
Yahoo! Mail goes everywhere you do.  Get it on your phone.

[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.




SPONSORED LINKS
Business finance course Business to business finance Small business finance
Business finance consultant Business finance magazine Business finance schools


YAHOO! GROUPS LINKS




Reply via email to