Hi All, Iam using this code to loop the controls on a form. int i; for (i=1;i<= element.design().controlCount();i++) { info(strfmt('%1', element.design().controlNum(i).name())); element.design().controlNum(i).visible(false); }
and I thought to use a recursive function to loop all controls on the form coz this code gets the main containers on the form. My problem is i don't know how to send element.design()( control/container ) as a parameter to the function as I am new to Axapta and this X++ whole thing. so can anyone help me in that? how to send element.design() as a parameter to a function??? thanks a lot everyone. Regards, __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/