RadioButtonSelectOn
Description
¶óµð¿À ¹öÆ°ÀÇ Selected Çʵ带 ¼¼Æ®ÇÑ´Ù.
Syntax
void RadioButtonSelectOn( ComponentStruct * c, Boolean draw )
Parameters
c
¶óµð¿À ¹öÆ°
draw
¼±ÅÃµÈ ¸ð¾çÀ¸·Î ±×·ÁÁÙ ½ÃÁ¡
Returns
¾øÀ½
Comments
draw°¡ TRUEÀÌ¸é °ð¹Ù·Î ȸ鿡 ¶óµð¿À ¹öÆ°À» ¼±ÅÃµÈ ¸ð¾çÀ¸·Î ±×·ÁÁØ´Ù.
Example
Boolean AlarmFormHandleEvent( EventStruct * e )
{
Boolean handled = FALSE;
U16 id;
switch( e->EventType )
{
case COMPONENTSELECTEVENT :
switch( id = e->ObjectID )
{
case PopupTrg_ptAlarm_1120 :
/* ¾Ë¶÷ Æ˾÷ Æ®¸®°Å°¡ ¼±ÅõǾú´Ù */
RadioButtonSelectOn( FormGetComponentPtr(RadioBtn_rbIsAlarm_1117), TRUE );
/* ¾Ë¶÷ÀÌ ¼³Á¤µÇ¾ú´Ù´Â °ÍÀ» Ç¥½ÃÇϱâ À§ÇÏ¿© ¾Ë¶÷ ¶óµð¿À ¹öÆ°À» ÄÒ´Ù */
PopupSetList( FormGetComponentPtr(PopupTrg_ptAlarm_1120), 6, (U8)schInit.AlarmIndex, AlarmKind );
PopupDo();
break;