RE: [Axapta-Knowledge-Village] Radio buttons

2004-12-07 Thread Sonny Wibawa Adi



Hi, Morris Mendoza,
 
 
I don't know what form you exactly want to made. But, try this:
1. create a new form
2. override init method.
public void init(){    FormRadioControl fc;    ;    super();    fc  = element.design().addControl(FormControlType::RadioButton,"MyRadio");    fc.add('asd');    fc.add('adassd');}
3. create a button and override clicked method.
void clicked(){    FormRadioControl fc;    ;    super();    fc  = element.design().controlName("MyRadio");    info (strFmt("%1",fc.selection()));}
 
Hope this helps.
 
Regards,
 
Sonny Wibawa Adi
Peng Qing Hua <[EMAIL PROTECTED]> wrote:
Hi,    As far as I know, developer cannot directly use radio buttons. We have tocreate a enum data , and then specify your radio button to this emun. Theradio button's label is the emun item's label. Best Regard!Andy. Peng Qing hua-Original Message-From: Morris Mendoza [mailto:[EMAIL PROTECTED] Sent: 2004Äê12ÔÂ6ÈÕ 11:25To: [EMAIL PROTECTED]Subject: [Axapta-Knowledge-Village] Radio buttonsHow can i use radio buttons in axapta. More specifically, how can i add labels for each item during design time? Thanks!Sharing the knowledge on Axapta. Yahoo! Groups LinksSharing the knowledge on Axapta. 
		Do you Yahoo!? 
The all-new My Yahoo! – What will yours do?


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  Get unlimited calls to 	U.S./Canada  












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 the Yahoo! Terms of Service.










RE: [Axapta-Knowledge-Village] Radio buttons

2004-12-05 Thread Peng Qing Hua


Hi, 
   As far as I know, developer cannot directly use radio buttons. We have to
create a enum data , and then specify your radio button to this emun. The
radio button's label is the emun item's label. 

Best Regard!
Andy. Peng Qing hua
-Original Message-
From: Morris Mendoza [mailto:[EMAIL PROTECTED] 
Sent: 2004年12月6日 11:25
To: [EMAIL PROTECTED]
Subject: [Axapta-Knowledge-Village] Radio buttons



How can i use radio buttons in axapta. More specifically, how can i 
add labels for each item during design time? Thanks!






Sharing the knowledge on Axapta. 
Yahoo! Groups Links



 







 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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/