FormSetFocus
Description
ÇöÀç Æû¿¡ ¿¬°áµÈ ÄÄÆ÷³ÍÆ® Áß¿¡¼ ID¿¡ ÇØ´çÇÏ´Â ÄÄÆ÷³ÍÆ®¿¡°Ô Æ÷Ä¿½º¸¦ ÁØ´Ù. Áï, ÇöÀç Æ÷Ä¿½º¸¦ °®°í ÀÖ´Â ÄÄÆ÷³ÍÆ®¿¡ ´ëÇÏ¿©´Â LOSEFOCUSEVENT ¸¦ ¹ß»ý½ÃÅ°°í ID·Î ÁöÁ¤µÈ ÄÄÆ÷³ÍÆ®¿¡ ´ëÇÏ¿©´Â GETFOCUSEVENT¸¦ ¹ß»ý½ÃŲ´Ù.
Syntax
Boolean FormSetFocus( U16 ID )
Parameters
ID Æû ¾ÆÀ̵ð
Returns
value | ¼³¸í |
TRUE | ¼º°øÀûÀÎ ¼öÇà |
FALSE | À߸øµÈ Æû ¾ÆÀ̵ð |
Comments
Example
ApplicationHandleEvent ¿Í °°Àº ÇÔ¼ö¿¡¼ ÆûÀ» ±×¸° ÈÄ Æ¯Á¤ ÇÊµå ¿¡µðÆ®¿¡ Ä¿¼¸¦ °¡Á®´Ù ³õ´Â ¿¹Á¦ÀÌ´Ù.
FormDraw();
if (id == Form_frmMemoEdit_1006)
{
FormSetFocus( Edit_feMemoEdit_1007 );
}