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');
}
{
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()));
}
{
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 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
Sharing 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.