»ç¿ëÀÚ°¡ ±×·¡ÇÈ ¸ðµâÀÇ Ãâ·Â ´ëÈ»óÀÚ¸¦ ÀÛ¼ºÇÏ¿© °¨½Ã ÇÁ·Î±×·¥»ó¿¡¼ AO, DO, ST Ãâ·Â »óÀÚ·Î »ç¿ëÀÌ °¡´ÉÇϸç, Ãâ·Â »óÀÚ È¸éÀ» ±¸¼ºÇÏ¿© ¼öÄ¡¸¦ ÀÔ·ÂÇÒ ¼ö ÀÖ°Ô²û ¾Æ·¡¿Í °°ÀÌ È¸éÀ» ±¸¼ºÇÑ´Ù.
<±×¸²1> »ç¿ëÀÚ Á¤ÀÇ Ãâ·Â ´ëÈ»óÀÚ È¸é±¸¼º
<±×¸²1>ÀÇ ¼³¸í
È¸é ±¸¼º ¼³¸í
0~9¹øÀÇ ÇÁ·Î±×·¥ ¹öÆ°
Back, Clear, Ãâ·Â È®ÀÎ, Ãë¼Ò ´Ý±â ¹öÆ°
AI ű×ÀÇ ÀÔ·Â °¡´ÉÇÑ Full, Base °ª ¾È³» ÇÑÁÙ ±ÛÀÚ
ÀÔ·ÂµÈ °ªÀ» º¼ ¼ö ÀÖ´Â ¹®ÀÚ¿ ÅÂ±× (¹®ÀÚ¿ ÅÂ±× : NUMBER )
À§¿Í °°ÀÌ È¸éÀ» ±¸¼ºÇÑ´Ù.
±×·¡ÇÈ ¸ðµâ ½ÃÀ۽à ½ºÅ©¸³Æ®¿¡ ½ºÅ©¸³Æ® Àû¿ë
buf = @SystemValueGet("UserControlBoxTag"); //ÇØ´ç ¿ä¼Ò ¼Ó¼º¿¡¼ ÁöÁ¤ÇÑ AI, DI ÅÂ±× À̸§À» °¡Á®¿È
value = @GetTagValue(buf); //ÇØ´ç ű×ÀÇ °ªÀ» ÀúÀå
@EditBoxSetText("this.EditBox1", value); //ű×ÀÇ °ªÀ» ȸéÀÇ EditBox1¿¡ Ç¥½Ã
buf = @SystemValueGet("UserControlBoxDescription"); //¿ä¼Ò ¼Ó¼ºÀÇ Ãâ·Â»óÀÚÅÇ¿¡¼ ÁöÁ¤ÇÑ ´ëÈ»óÀÚ ¼³¸íÀ» °¡Á®¿È
@ObjectSetText("this.SingleTextDescription", buf); //±×·¡ÇÈ ¸ðµâÀÇ ÇÑÁÙ ±ÛÀÚ ¿ä¼Ò¿¡ ´ëÈ»óÀÚ ¼³¸íÀ» Ç¥½Ã
buf = @SystemValueGet("UserControlBoxMinValue"); //ÇØ´ç AIű×ÀÇ ¹üÀ§ ÃÖ¼Ò°ªÀ» °¡Á®¿È
@ObjectSetText("this.SingleTextMinValue", buf);
buf = @SystemValueGet("UserControlBoxMaxValue"); //ÇØ´ç AIű×ÀÇ ¹üÀ§ ÃÖ´ë°ªÀ» °¡Á®¿È
@ObjectSetText("this.SingleTextMaxValue", buf);
@EditBoxSetFocus("this.EditBox1");
@EditBoxSelectAll("this.EditBox1");.
°¢ ¹öÆ°ÀÇ ÇÁ·Î±×·¥ ÆíÁý ³»¿ë
°¢°¢ÀÇ ¹öÆ°¿¡ ½ºÅ©¸³Æ®¸¦ ÆíÁýÇÑ´Ù. ¡® 1 ¹ø ¹öÆ°¡¯¿¡ ´ëÇÏ¿© °£´ÜÈ÷ º¸ÀÌ¸é ¾Æ·¡ <±×¸²2>¿Í °°´Ù.
<±×¸²2> ¡®1¹ø ¹öÆ°¡¯ÀÇ ½ºÅ©¸³Æ® ³»¿ë
¡®1¹ø ¹öÆ°¡¯¿¡ ´ëÇÑ ¿¹´Â <±×¸²2>¿Í °°°í, °¢°¢ÀÇ ¹öÆ°¿¡ ´ëÇÏ¿© ¾Æ·¡¿Í °°ÀÌ ÀÛ¼ºÇÏ¿© ÁÖ¸é µÈ´Ù.
this : AutoBase ½ºÅ©¸³Æ® ³»¿¡¼ ÁöÁ¤ÇÑ ¿¹¾à¾î·Î ÇöÀç È°¼ºÈµÇ¾îÁø ¸ðµâÀ» ÀǹÌÇϸç, this.EditBox1À̶ó ÁöÁ¤ÇÏ¸é ¿©·¯ ±×·¡ÇÈ ¸ðµâ¿¡¼ »ç¿ëÇÑ Å¬·¡½º À̸§ÀÌ EditBox1ÀÌ ÀÖ´õ¶óµµ, ÇöÀç ±×·¡ÇÈ ¸ðµâÀÇ EditBox1¿¡¸¸ Àû¿ëÀ» ½ÃŲ´Ù.
0¹ø ¹öÆ°
@EditBoxGetText("this.EditBox1", buf);
@strcat(buf, "0");
@EditBoxSetText("this.EditBox1", buf);
1¹ø ¹öÆ°
@EditBoxGetText("this.EditBox1", buf);
@strcat(buf, "1");
@EditBoxSetText("this.EditBox1", buf);
2¹ø ¹öÆ°
¡¦
¡¦
¡¦
9¹ø ¹öÆ°
@EditBoxGetText("this.EditBox1", buf);
@strcat(buf, "9");
@EditBoxSetText("this.EditBox1", buf);
Back ¹öÆ°
@EditBoxGetText("this.EditBox1", buf);
count = @strlen(buf);
if(count == 0) return;
buf[count-1] = 0;
@EditBoxSetText("this.EditBox1", buf);
//EditBox1¿¡ ÀԷµǾîÁø ¹®ÀÚ ¹è¿ÀÇ ±æÀÌ¿¡¼ -1À» ÇÏ¿© Null°ªÀ» ÀÔ·Â
Clear ¹öÆ°
buf = "";
@EditBoxSetText("this.EditBox1", buf);
È®ÀÎ ¹öÆ°
@EditBoxGetText("this.EditBox1", buf);
value = @atof(buf);
$__ControlBox_Tag = value; //$__ControlBox_Tag ÁöÁ¤µÈ ű×ÀÇ ÀÔ/Ãâ·Â·Î Ãâ·Â °ª Àü´ÞÇÏ¿© Ãâ·Â
@CloseModule();
Ãë¼Ò ¹öÆ°
@CloseModule(); // ÇöÀç Key padȸéÀ» ´Ý´Â´Ù.
¿¹Á¦´Â ÀÛ¾÷¼±Åà ÇÁ·Î±×·¥¿¡¼ ±ÛÀÚ¸Þ´º ¡°ÆÄÀÏ | º¹¿ø¡±À» ¼±ÅÃÇÏ¿© ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.