FormGo
Description
¸®¼Ò½º µ¥ÀÌÅͺ£À̽º¿¡ ID¿¡ ÇØ´çÇÏ´Â ÆûÀÌ ÀÖ´ÂÁö È®ÀÎÇÏ°í ÀÖÀ¸¸é ÇöÀç Æû¿¡ ´ëÇÏ¿© FORMUNLOADEVENT¸¦ ¹ß»ý½ÃŲ´ÙÀ½ ID¸¦ Àμö·ÎÇÑ FORMLOADEVENT¸¦ ¹ß»ý½ÃŲ´Ù. ±×¸®°í TRUE¸¦ ¸®ÅÏÇÑ´Ù. ¸®¼Ò½º µ¥ÀÌÅͺ£À̽º¿¡ ÇØ´ç ÆûÀÌ ¾øÀ¸¸é FALSE¸¦ ¸®ÅÏÇÑ´Ù.
Syntax
U8 FormGo( U16 ID )
Parameters
ID Æû ¾ÆÀ̵ð
Returns
value
¼³¸í
TRUE
Á¤»óÀûÀ¸·Î FORMLOADEVENT¸¦ ¹ß»ý½ÃŲ °æ¿ì
FALSE
¸®¼Ò½º µ¥ÀÌÅͺ£À̽º¿¡ ÇØ´ç ÆûÀÌ ¾ø´Â °æ¿ì
Comments
Example
ÆíÁý ȸ鿡¼ OK ¹öÆ°À» ´©¸£¸é ¸®½ºÆ® ȸéÀ¸·Î º¯°æÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÖ´Â ¿¹Á¦ÀÌ´Ù.
static Boolean EditFormHandleEvent( EventStruct * e )
{
Boolean handled = FALSE;
U16 id;
switch( e->EventType )
{
case COMPONENTSELECTEVENT :
switch( id = e->ObjectID )
{
case Button_btnOK_1011 :
FormGo( Form_fmMemoList_1000 );
handled = TRUE;
break;
...
}
break;
...
}
return handled;
}