Use the hide() and show() methods to hide and show specific fields in your report. To identify a specific field in your report, use either the ControlName(Name) method, or the Control(FieldId, TableId) method in the ReportDesign class.
  
  Liviu

Steeve Gilbert <[EMAIL PROTECTED]> wrote:
  Run() method would be a good place to do it (before super() I think).  Make sure your control's autodeclaration = yes (property).  Then you can do this :

yourControlName.visible(false);

Steeve...


-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la part de abinassif
Envoyé : 1 mars 2006 08:15
À : [email protected]
Objet : [development-axapta] How to access report controls dynamically?

Hello,

I need to access controls on the report dynamically and change their
properties. Like for example, to make some controls visible or
invisible depending on a the user's choice in the report dialog.
How can I access a control dynamically in the report?
I believe I need to do it in the run method of the report, is this
right? and if yes what syntax to use?

Thanks in advance for any help.









Yahoo! Groups Links











  SPONSORED LINKS
        Computer part   Programming languages   Microsoft axapta     Support exchange
   
---------------------------------
  YAHOO! GROUPS LINKS

   
    Visit your group "development-axapta" 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
Bring photos to life! New PhotoMail  makes sharing a breeze.

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





SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to