LoadModulePosition

 

The 'LoadModulePosition' function displays the specified graphic-module at the specified coordinates on screen. The specified graphic-module should have the 'Pop-up' property as the window property.

 

void @LoadModulePosition(string module_name, int method, int posx, int posy)

 

Parameters

string module_name : graphic-module name that you want to open

int method : 0 = Center, 1= Left / Top, 2 = Right / Top, 3 = Left / Bottom, 4 = Right / Bottom

int posx : x-coordinate

int posy : y-coordinate

 

Example

@LoadModulePosition("Pop1.modx",1,100,100);

Description : 'Pop1.modx' is displayed at

³»¿ë ¼³¸í : POPUP.MODX(¹Ýµå½Ã POPUPÀ©µµ¿ì·Î ¼³Á¤µÇ¾î ÀÖ¾î¾ß ÇÑ´Ù. ÀÌ ¼³Á¤Àº ¡®ÆíÁý±â|±âŸ|¸ðµâ Ư¼º ¼³Á¤¡¯¿¡¼­ ÇÑ´Ù.) ÀÎ ±×·¡ÇÈÈ­¸éÀ» °¨½Ã È­¸é»ó¿¡ ³ªÅ¸³¾ ¶§ À©µµ¿ìÀÇ ÁÂÃø»ó´Ü(method : 1)À» ±âÁØÀ¸·Î XÃàÀ¸·Î 100Pixel, YÃàÀ¸·Î 100Pixel À§Ä¡¿¡ º¸¿©ÁØ´Ù.

 

Reference

@LoadModule()

@CloseModule()