* dSign.ch
/*
 * Definition file for dSign proyect
 * FMG editor
 * Created by David Field
 * fielddb@yahoo.com
 * Some parts have been copied from OIDE of OOHG
 *
 * Each control has an array of defined_DATAS
 * These arrays consist of the Name and data value
 * Data values can be 
 * "" or "NIL" to represent caracters values
 * NIL or number to represent numeric values
 * {} to represent array values
 * Block datas are read and saved as caracter
*/ 

#define WINDOW_DATAS  ;
	{ ;
		{ "NAME",					"" , 0}, ;
		{ "OBJ",						"" , 0}, ;
		{ "WIDTH",					400, 1}, ;
		{ "HEIGHT",					400, 1}, ;
		{ "BACKCOLOR",				{} , 1}, ;
		{ "BACKIMAGE",				"" , 1}, ;
		{ "BREAK",					.F., 0}, ;
		{ "CHILD",					.F., 0}, ;
		{ "CLIENTAREA",			.F., 0}, ;
		{ "CURSOR",					"" , 0}, ;
		{ "FOCUSED",				.F., 0}, ;
		{ "FONT",					"" , 1}, ;
		{ "FONTCOLOR",				{} , 1}, ;
		{ "SIZE",					 0 , 1}, ;
		{ "GRIPPERTEXT",		"NIL", 0 }, ;
		{ "HELPBUTTON",			.F., 0}, ;
		{ "ICON",					 "", 0}, ;
		{ "INTERACTIVECLOSE",	 "", 0}, ;
		{ "INTERNAL",				.F., 0}, ;
		{ "MAIN",					.F., 0}, ;
		{ "MAXHEIGHT",				"" , 1}, ;
		{ "MAXWIDTH",				"" , 1}, ;
		{ "MDI",						.F., 0}, ;
		{ "MDICHILD",				.F., 0}, ;
		{ "MDICLIENT",				.F., 0}, ;
		{ "MINHEIGHT",				"" , 1}, ;
		{ "MINWIDTH",				"" , 1}, ;
		{ "MODAL",					.F., 0}, ;
		{ "MODALSIZE",				.F., 0}, ;
		{ "NOAUTORELEASE",		.F., 0}, ;
		{ "NOCAPTION",				.F., 0}, ;
		{ "NODWP",					.F., 0}, ;
		{ "NOMAXIMIZE",			.F., 0}, ;
		{ "NOMINIMIZE",			.F., 0}, ;
		{ "NOSHOW",					.F., 0}, ;
		{ "NOSIZE",					.F., 0}, ;
		{ "NOSYSMENU",				.F., 0}, ;
		{ "NOTIFYICON",			"" , 0}, ;
		{ "NOTIFYTOOLTIP",		"" , 0}, ;
		{ "PARENT",					"" , 0}, ;
		{ "RTL",						.F., 1}, ;
		{ "SPLITCHILD",			.F., 0}, ;
		{ "STRETCH",				.F., 0}, ;
		{ "SUBCLASS",				"" , 0}, ;
		{ "TITLE",					"" , 1}, ;
		{ "TOPMOST",				.F., 0}, ;
		{ "VIRTUALHEIGHT",		"" , 0}, ;
		{ "VIRTUALWIDTH",			"" , 0} ;
	}

#define WINDOW_EVENTS  ;
	{ ;
		{ "ONDBLCLICK",			"" }, ;
		{ "ONGOTFOCUS",			"" }, ;
		{ "ONINIT",					"" }, ;
		{ "ONINTERACTIVECLOSE",	"" }, ;
		{ "ONKEYS",					"" }, ;
		{ "ONLOSTFOCUS",			"" }, ;
		{ "ONMAXIMIZE",			"" }, ;
		{ "ONMCLICK",				"" }, ;
		{ "ONMDBLCLICK",			"" }, ;
		{ "ONMINIMIZE",			"" }, ;
		{ "ONMOUSECLICK",			"" }, ;
		{ "ONMOUSEDRAG",			"" }, ;
		{ "ONMOUSEMOVE",			"" }, ;
		{ "ONMOVE",					"" }, ;
		{ "ONNOTIFYCLICK",		"" }, ;
		{ "ONPAINT",				"" }, ;
		{ "ONRCLICK",				"" }, ;
		{ "ONRDBLCLICK",			"" }, ;
		{ "ONRELEASE",				"" }, ;
		{ "ONRESTORE",				"" }, ;
		{ "ONSCROLLDOWN",			"" }, ;
		{ "ONSCROLLLEFT",			"" }, ;
		{ "ONSCROLLRIGHT",		"" }, ;
		{ "ONSCROLLUP",			"" }, ;
		{ "ONSIZE",					"" }, ;
		{ "ONVSCROLLBOX",			"" }  ;
	}


#DEFINE NAME						1
#DEFINE dOBJ						2	
#DEFINE wWIDTH						3	
#DEFINE wHEIGHT					4	
#DEFINE wBACKCOLOR				5
#DEFINE wBACKIMAGE				6
#DEFINE wBREAK						7
#DEFINE wCHILD						8	
#DEFINE wCLIENTAREA				9	
#DEFINE wCURSOR					10
#DEFINE wFOCUSED					11
#DEFINE wFONT						12
#DEFINE wFONTCOLOR				13
#DEFINE wFONTSIZE					14
#DEFINE wGRIPPERTEXT				15
#DEFINE wHELPBUTTON				16
#DEFINE wICON						17
#DEFINE wINTERACTIVECLOSE		18
#DEFINE wINTERNAL					19
#DEFINE wMAIN						20
#DEFINE wMAXHEIGHT				21
#DEFINE wMAXWIDTH					22
#DEFINE wMDI						23
#DEFINE wMDICHILD					24
#DEFINE wMDICLIENT				25
#DEFINE wMINHEIGHT				26
#DEFINE wMINWIDTH					27
#DEFINE wMODAL						28
#DEFINE wMODALSIZE				29
#DEFINE wNOAUTORELEASE			30
#DEFINE wNOCAPTION				31
#DEFINE wNODWP						32
#DEFINE wNOMAXIMIZE				33
#DEFINE wNOMINIMIZE				34
#DEFINE wNOSHOW					35
#DEFINE wNOSIZE					36
#DEFINE wNOSYSMENU				37
#DEFINE wNOTIFYICON				38
#DEFINE wNOTIFYTOOLTIP			39
#DEFINE wPARENT					40
#DEFINE wRTL						41
#DEFINE wSPLITCHILD				42
#DEFINE wSTRETCH					43
#DEFINE wSUBCLASS					44
#DEFINE wTITLE						45
#DEFINE wTOPMOST					46
#DEFINE wVIRTUALHEIGHT			47
#DEFINE wVIRTUALWIDTH			48

// Window_Events
#DEFINE wONDBLCLICK				1
#DEFINE wONGOTFOCUS				2
#DEFINE wONINIT					3
#DEFINE wONINTERACTIVECLOSE	4
#DEFINE wONKEYS					5
#DEFINE wONLOSTFOCUS				6
#DEFINE wONMAXIMIZE				7
#DEFINE wONMCLICK					8
#DEFINE wONMDBLCLICK				9
#DEFINE wONMINIMIZE				10
#DEFINE wONMOUSECLICK			11
#DEFINE wONMOUSEDRAG				12
#DEFINE wONMOUSEMOVE				13
#DEFINE wONMOVE					14
#DEFINE wONNOTIFYCLICK			15
#DEFINE wONPAINT					16
#DEFINE wONRCLICK					17
#DEFINE wONRDBLCLICK				18
#DEFINE wONRELEASE				19
#DEFINE wONRESTORE				20
#DEFINE wONSCROLLDOWN			21
#DEFINE wONSCROLLLEFT			22
#DEFINE wONSCROLLRIGHT			23
#DEFINE wONSCROLLUP				24
#DEFINE wONSIZE					25
#DEFINE wONVSCROLLBOX			26	
	
#define ACTIVEX_DATAS  ;
	{ ;
		{ "NAME",					"" }, ;
		{ "OBJ",						"" }, ;
 		{ "DISABLED",				.F.}, ;
		{ "INVISIBLE",				.F.}, ;
		{ "NOTABSTOP",				.F.}, ;
		{ "PROGID",					"" }, ;
		{ "SUBCLASS",				"" }  ;
	}

#define axPROGID					3
#define axNOTABSTOP				4
#define axDISABLED				5
#define axINVISIBLE				6
#define axSUBCLASS				7

	
#define ANY_EVENTS	{{"ONCLICK",			"",}}

#define CHECKLIST_DATAS  ;
	{;
		{"NAME",						""  }, ;
		{"OBJ",                 ""  }, ;
		{"BREAK",               .F. }, ;
		{"DESCENDING",          .F. }, ;
		{"DISABLED",            .F. }, ;
		{"HELPID",              ""  }, ;
		{"IMAGE",               ""  }, ;
		{"INVISIBLE",           .F. }, ;
		{"ITEMS",               ""  }, ;
		{"JUSTIFY",             .F. }, ;
		{"NOTABSTOP",           .F. }, ;
		{"RTL",                 .F. }, ;
		{"SELECTEDCOLORS",      ""  }, ;
		{"SINGLEBUFFER",        .F. }, ;
		{"SORT",                .F. }, ;
		{"SUBCLASS",            ""  }, ;
		{"TOOLTIP",             ""  }, ;
		{"VALUE",               ""	 } ;
		}
		
#define CHECKBOX_DATAS  ;
	{;
		{"NAME",						""  }, ;
		{"OBJ",                 ""  }, ;
		{"BACKGROUND",          ""  }, ;
		{"CAPTION",             ""  }, ;
		{"DISABLED",            .F. }, ;
		{"DRAWBY",              ""  }, ;
		{"FIELD",               ""  }, ;
		{"HELPID",              ""  }, ;
		{"INVISIBLE",           .F. }, ;
		{"LEFTALIGN",           .F. }, ;
		{"NOFOCUSRECT",         .F. }, ;
		{"NOTABSTOP",           .F. }, ;
		{"RTL",                 .F. }, ;
		{"SUBCLASS",            ""  }, ;
		{"THREESTATE",          .F. }, ;
		{"TOOLTIP",             ""  }, ;
		{"TRANSPARENT",         .F. }, ;
		{"VALUE",               ""	 } ;
	}

#define DATEPICKER_DATAS  ;
	{;
		{"NAME",						""  }, ;
		{"OBJ",                 ""  }, ;
		{"DATEFORMAT",          ""  }, ;
		{"DISABLED",            .F. }, ;
		{"FIELD",               ""  }, ;
		{"HELPID",              ""  }, ;
		{"INVISIBLE",           .F. }, ;
		{"NOBORDER",            .F. }, ;
		{"NOTABSTOP",           .F. }, ;
		{"RANGE",               ""  }, ;
		{"RIGHTALIGN",          .F. }, ;
		{"RTL",                 .F. }, ;
		{"SHOWNONE",            .F. }, ;
		{"SUBCLASS",            ""  }, ;
		{"TOOLTIP",             ""  }, ;
		{"UPDOWN",              .F. }, ;
		{"VALID",               ""  }, ;
		{"VALUE",               ""	 } ;
	}

#define EDITBOX_DATAS  ;
	{;
		{"NAME",						""  }, ;
		{"OBJ",                 ""  }, ;
		{"BREAK",               .F. }, ;
		{"DISABLED",            .F. }, ;
		{"FIELD",               ""  }, ;
		{"FOCUSEDPOS",          ""  }, ;
		{"INSERTTYPE",          ""  }, ;
		{"INVISIBLE",           .F. }, ;
		{"MAXLENGTH",           ""  }, ;
		{"NOBORDER",            .F. }, ;
		{"NOHSCROLL",           .F. }, ;
		{"NOTABSTOP",           .F. }, ;
		{"NOVSCROLL",           .F. }, ;
		{"READONLY",            .F. }, ;
		{"RTL",                 .F. }, ;
		{"SUBCLASS",            ""  }, ;
		{"TOOLTIP",             ""  }, ;
		{"VALUE",               ""	 } ;
	}
	
#define IMAGE_DATAS  ;
	{;
		{"NAME",						"", 0 }, ;
		{"OBJ",                 ""  }, ;
		{"BORDER",					.F. }, ;
		{"BUFFER",              .F. }, ;
		{"CLIENTEDGE",				.F. }, ;
		{"DISABLED",            .F. }, ;
		{"EXCLUDEAREA",			""  }, ;
		{"HBITMAP",             ""  }, ;
		{"HELPID",					""  }, ;
		{"IMAGESIZE",           .F. }, ;
		{"INVISIBLE",				.F. }, ;
		{"NO3DCOLORS",          .F. }, ;
		{"NOCHECKDEPTH",			.F. }, ;
		{"NODIBSECTION",        .F. }, ;
		{"NOLOADTRANSPARENT",	.F. }, ;
		{"NOPARENTREDRAW",      .F. }, ;
		{"NORESIZE",				.F. }, ;
		{"PICTURE",             ""  }, ;
		{"RTL",						.F. }, ;
		{"STRETCH",             .F. }, ;
		{"SUBCLASS",				""  }, ;
		{"TOOLTIP",             ""  }, ;
		{"TRANSPARENT",			.F. }, ;
		{"WHITEBACKGROUND",     .F. } ;
	}
*/	
#define TABPAGE_DATAS  ;
	{;
		{ "NAME",					"" , 0}, ;	
		{ "OBJ",          		"" , 0}, ;	
      { "CAPTION",				"" , 1}, ;
      { "IMAGE",					"" , 0}, ;
      { "POSITION", 				 0 , 1}, ;
		{ "TOOLTIP",      		"" , 1}, ;
		{ "SUBCLASS",      		"" , 0}  ;	
	}
#define tpCAPTION             3
#define tpIMAGE               4
#define tpPOSITION            5
#define tpTOOLTIP             6
#define tpSUBCLASS            7
	
#define TBUTTON_DATAS  ;
	{;
		{ "NAME",					"", 0 }, ;	
		{ "OBJ",          		"", 0 }, ;	
		{ "AUTOSIZE",   			.F.}, ;	
		{ "CAPTION",     			"" }, ;	
		{ "CHECK",     			.F.}, ;	
		{ "DROPDOWN",     		.F.}, ;	
		{ "GROUP",    				.F.}, ;	
		{ "PICTURE",	       	"" }, ;	
		{ "SEPARATOR",  			.F.}, ;	
		{ "SUBCLASS",      		"", 0 }, ;	
		{ "TOOLTIP",       		"" }, ;
		{ "WHOLEDROPDOWN",      .F.} ;	
	}
#define TBUTTON_EVENTS { { "ONCLICK", "" } }                    
	
#define tbbAUTOSIZE            3
#define tbbCAPTION             4
#define tbbCHECK               5
#define tbbDROPDOWN            6
#define tbbGROUP               7
#define tbbPICTURE             8
#define tbbSEPARATOR           9
#define tbbSUBCLASS            10
#define tbbTOOLTIP             11
#define tbbWHOLEDROPDOWN       12

	
#define TOOLBAR_DATAS  ;
	{;
		{ "NAME",					"" }, ;	
		{ "OBJ",          		"" }, ;	
		{ "BOLD",	       		.F.}, ;
		{ "BORDER",       		.F.}, ;
      { "BOTTOM",					.F.}, ;
		{ "BREAK",              .F.}, ;
      { "BUTTONSIZE", 	 "40,40" }, ;
		{ "CAPTION",     			"" }, ;	
		{ "FLAT",      			.F.}, ;
		{ "FONT",     				"" }, ;
		{ "ITALIC", 	   		.F.}, ;
		{ "NOTABSTOP",          .F.}, ;
		{ "OWNTOOLTIP",     		"" }, ;
      { "RIGHTTEXT",				.F.}, ;
		{ "RTL",          		.F.}, ;
		{ "SIZE",   		  		"" }, ;
		{ "STRIKEOUT",   		  	.F.}, ;
		{ "SUBCLASS",      		"" }, ;	
      { "TOOLBARSIZE",			 0 },  ;
		{ "TOOLTIP",      		"" }, ;
		{ "UNDERLINE",        	.F.}, ;
      { "VERTICAL",				.F.} ;
	}

#define tbBOLD	        3
#define tbBORDER       4
#define tbBOTTOM		  5
#define tbBREAK        6
#define tbBUTTONSIZE   7
#define tbCAPTION      8	
#define tbFLAT      	  9
#define tbFONT     	  10
#define tbITALIC 	     11
#define tbNOTABSTOP    12
#define tbOWNTOOLTIP   13
#define tbRIGHTTEXT	  14
#define tbRTL          15
#define tbSIZE   		  16
#define tbSTRIKEOUT    17
#define tbSUBCLASS     18
#define tbTOOLBARSIZE  19
#define tbTOOLTIP      20
#define tbUNDERLINE    21
#define tbVERTICAL	  22
		
#define STATUSBAR_DATAS  ;
	{;
		{ "NAME",					"" , 0}, ;	
		{ "OBJ",          		"" , 0}, ;	
		{ "ALIGN",				"LEFT", 2}, ;
		{ "BOLD",	       		.F., 1}, ;
      { "CLOCK",					.F., 2}, ;
      { "DATE",					.F., 2}, ;
      { "FONT",					"" , 1}, ;
      { "ICON",					"" , 0}, ;
		{ "ITALIC", 	   		.F., 1}, ;
      { "KEYBOARD",				.F., 2}, ;
      { "MESSAGE",				"" , 0}, ;
      { "NOAUTOADJUST",			.F., 0}, ;
		{ "SIZE",   		  		"" , 0}, ;
		{ "STRIKEOUT",   		  	.F., 1}, ;
		{ "STYLE",    		  "FLAT" , 2, {"FLAT", "RAISED"}}, ;
		{ "SUBCLASS",      		"" , 0}, ;	
 		{ "TOOLTIP",      		"" , 0}, ;
      { "TOP",						.F., 2}, ;
		{ "UNDERLINE",        	.F., 0}, ;
      { "WIDTH",					 0 , 0} ;
	}
#define STATUSBAR_EVENTS { { "ACTION", "" } }  

#define stALIGN				3
#define stBOLD	       		4
#define stCLOCK				5
#define stDATE					6
#define stFONT     			7	
#define stICON					8
#define stITALIC 	   		9
#define stKEYBOARD			10
#define stMESSAGE				11
#define stNOAUTOADJUST		12
#define stSIZE   		  		13
#define stSTRIKEOUT   		14 	
#define stSTYLE	      	15
#define stSUBCLASS      	16
#define stTOOLTIP      		17
#define stTOP					18	
#define stWIDTH				19
#define stUNDERLINE        20

#define STATUSITEM_DATAS  ;
	{;
      { "WIDTH",					 0 }, ;
		{ "ACTION",					"" }, ;
 		{ "TOOLTIP",      		"" }, ;
      { "ICON",					"" }, ;
      { "STYLE", 					"" }, ;
		{ "ALIGN",					"" }, ;
      { "DEFAULT",				.F.} ;
		}
                  
#define stiCAPTION	1
#define stiWIDTH		2
#define stiACTION		3
#define stiTOOLTIP	4
#define stiICON		5
#define stiSTYLE		6
#define stiALIGN		7
#define stiDEFAULT	8

/*
Estructura de SUPPORTED_DATAS
Elemento 1 es el parámetro del control
Elemento 2 es el valor por defecto del parámetro del control
Elemento 3 indica si es necesario:  0=Solo asigna el valor al parámetro 1 = asigna y actualiza el control, 2=Recrea el control
*/
	
#define SUPPORTED_DATAS       { ;
                              { "NAME",           		           "" , 0}, ;                  /* Name of the control in the FMG file, must be unique */
                              { "OBJ",            		           "" , 0}, ;	
                              { "ACTION",         		           "" }, ;
                              { "ACTION2",       		           "" }, ;
                              { "ADDRESS",       		           "" , 1}, ;
                              { "AFTERCOLMOVE",  		           "" }, ;
                              { "AFTERCOLSIZE",  		           "" }, ;
                              { "APPEND",        		          .F. , 0}, ;	//10
                              { "ATTACHED",      		          .F. , 0}, ;	
                              { "AUTOMOVE",      		          .F. , 0}, ;
                              { "AUTOPLAY",      		          .F. , 0}, ;
                              { "AUTOSIZE",      		          .F. , 0}, ;
                              { "AUTOSKIP",      		          .F. , 0}, ;
                              { "BACKCOLOR",     		           {} , 2}, ;
                              { "BACKGROUND",    		           "" , 1}, ;
                              { "BACKGROUNDCOLOR", 	         "NIL", 1}, ;	
                              { "BEFOREAUTOFIT",  		              "" }, ;
                              { "BEFORECOLMOVE",  		              "" }, ;	//20
                              { "BEFORECOLSIZE",  		              "" }, ;	
                              { "BORDER",        		          .F. , 2}, ;
                              { "BOTH",          		          .F. , 2}, ;
                              { "BOTTOM",        		          .F. , 2}, ;
                              { "BOTTOMALIGN",   		          .F. , 0}, ;	// este no es necesario
                              { "BOUNDTEXT",     		          .F. , 0}, ;
                              { "BREAK",         		          .F. , 0}, ;
                              { "BUFFER",        		           "" , 0}, ;
                              { "BUTTONS",       		          .F. , 0}, ;
                              { "BUTTONWIDTH",     	            0 , 1}, ;	//30
                              { "CANCEL",        		          .F. , 0}, ;
                              { "CAPTION",       		           "" , 1}, ;
                              { "CELLTOOLTIP",   		          .F. , 0}, ;
                              { "CENTER",        		          .F. , 0}, ;	// Animated Style
                              { "CHECKBOXES",    		          .F. , 2}, ;	// Tree needs recreate
                              { "CENTERALIGN",   		          .F. , 2}, ;
                              { "CHANGEBEFOREEDIT",             .F. , 0}, ;
                              { "CLIENTEDGE",    		          .F. , 2}, ;
                              { "COLCOUNT",      		           "" , 0}, ;
                              { "COLUMNCONTROLS",		           "" , 0}, ;
                              { "COLUMNINFO",    		           "" , 0}, ;
                              { "COLUMNWIDTH",   		           NIL , 1}, ;	
                              { "CONTROLW",      		           "" , 0}, ;   // not found               /* Names of the controls in the designed form (real object's names, lowercased) */
                              { "CTRLSATLEFT",   		          .F. , 0}, ;
                              { "CTRLTYPE",      		           "" , 0}, ;	// not found
                              { "DATE",          		          .F. , 0}, ;
                              { "DATEFORMAT",    		           "" , 0}, ;
                              { "DEFAULTVALUES", 		           "" , 0}, ;	//50
                              { "DEFAULTYEAR",   		           "" , 0}, ;	
                              { "DELAYEDLOAD",   		          .F. , 0}, ;
                              { "DELAYMSGS",     		          .F. , 0}, ;
                              { "DELETE",        		          .F. , 0}, ;
                              { "DELETEMSG",     		           "" , 0}, ;
                              { "DELETEWHEN",    		           "" , 0}, ;
                              { "DESCENDING",    		          .F. , 0}, ;
                              { "DIBSECTION",    		          .F. , 0}, ;
                              { "DISABLEALTA",   		          .F. , 0}, ;
                              { "DISABLED",      		          .F. , 0}, ;
                              { "DISPLAYEDIT",   		          .F. , 0}, ;
                              { "DRAGITEMS",     		          .F. , 0}, ;
                              { "DRAWBY",    			        "NIL" , 0}, ;
                              { "DYNAMICBACKCOLOR",  	           "" , 0}, ;
                              { "DYNAMICFORECOLOR",  	           "" , 0}, ;
                              { "EDIT",          		          .F. , 0}, ;
                              { "EDITCELLVALUE", 		           "" , 0}, ;
                              { "EDITFIRSTVISIBLE",  	          .F. , 0}, ;
                              { "EDITHEIGHT",     		           "" , 0}, ;
                              { "EDITLIKEEXCEL", 		          .F. , 0}, ;
                              { "EDITKEYS",      		           "" , 0}, ;
                              { "EDITLABELS",    		          .F. , 0}, ;
                              { "ENABLEALTA",    		          .F. , 0}, ;
                              { "ENABLEDRAG",    		          .F. , 0}, ;	
                              { "ENABLEDROP",    		          .F. , 0}, ;	
                              { "EXCLUDEAREA",   		           "" , 0}, ;		
                              { "EXTDBLCLICK",   		          .F. , 0}, ;
                              { "FIELD",         		           "" , 0}, ;
                              { "FIELDS",        		           "" , 0}, ;
                              { "FILE",          		           "" , 0}, ;
                              { "FILETYPE",      		           "" , 0}, ;
                              { "FIRSTITEM",     		          .F. , 0}, ;
                              { "FIT",           		          .F. , 0}, ;	// listbox lAdjustImages
                              { "FITIMG",        		          .F. , 2}, ;
                              { "FITTXT",        		          .F. , 2}, ;
                              { "FIXEDBLOCKS", 			          .F. , 0}, ;	
                              { "FIXEDCOLS",     		          .F. , 0}, ;
                              { "FIXEDCONTROLS", 		          .F. , 0}, ;
                              { "FIXEDWIDTHS",   		          .F. , 0}, ;
                              { "FLAT",          		          .F. , 2}, ;	// Button needs recreate
                              { "FOCUSEDPOS",    		           "" , 0}, ;
                              { "FOCUSRECT",   		           "NIL" , 0}, ;
                              { "BOLD",          		          .F. , 1}, ;	
                              { "FONTCOLOR",     		           "" , 1}, ;
                              { "FORECOLOR",     		           "" , 1}, ;
                              { "ITALIC",        		          .F. , 1}, ;	
                              { "FONT",          		           "" , 1}, ;	
                              { "SIZE",          		            0 , 1}, ;	
                              { "STRIKEOUT",     		          .F. , 1}, ;	//100
                              { "UNDERLINE",     		          .F. , 1}, ;	
                              { "FORCEREFRESH",  		          .F. , 0}, ;
                              { "FORCESCALE",    		          .F. , 2}, ;
                              { "FORMAT",        		           "" , 2}, ;
                              { "FULLMOVE",      		          .F. , 0}, ;
                              { "FULLROWSELECT", 		          .F. , 0}, ;
                              { "GRIPPERTEXT",   		           "" , 0}, ;
                              { "HANDCURSOR",    		          .F. , 0}, ;
                              { "HBITMAP",       		           "" , 1}, ;
                              { "HEADERIMAGESGALIGN",            "" , 1}, ;
                              { "HEADERIMAGES",   		           "" , 1}, ;
                              { "HEADERS",   		    {'one','two'}, 1}, ;
                              { "HEADERCOLORS",   		           {} , 1}, ;
                              { "HEIGHT",        		          NIL , 1}, ;
                              { "HELPID",        		           "" , 0}, ;
                              { "HORIZONTAL",    		          .F. , 2}, ;
                              { "HOTTRACK",      		          .F. , 0}, ;
                              { "HOTTRACKING",   		          .F. , 0}, ;
                              { "HSCROLL",       		          .F. , 2}, ;
                              { "ICONLEFT",      		          .F. , 0}, ;
                              { "IMAGE",         		           "" , 0}, ;	//Listbox must be array and recreate control
                              { "IMAGEALIGN",  		              "" , 2}, ;	
                              { "IMAGEMARGIN",   		           "" , 1}, ;
                              { "IMAGESIZE",     		          .F. , 2}, ;
                              { "IMAGESOURCE",   		           "" , 1}, ;
                              { "INCREMENT",     		           "" , 0}, ;
                              { "INCREMENTAL",   		          .F. , 0}, ;
                              { "INDENT",        		          NIL , 0}, ;
                              { "INPLACE",       		          .F. , 0}, ;
                              { "INPUTMASK",     		           "" , 1}, ;
                              { "INSERTTYPE",    		           "" , 0}, ;
                              { "INTEGRALHEIGHT",		          .F. , 0}, ;
                              { "INTERNALS",     		          .F. , 0}, ;
                              { "INTERVAL",      		          NIL , 0}, ;
                              { "INVISIBLE",     		          .F. , 0}, ;
                              { "ITEMCOUNT",     		           "" , 0}, ;
                              { "ITEMIDS",       		          .F. , 0}, ;
                              { "ITEMIMAGES",    		           "" , 0}, ;
                              { "ITEMIMAGENUMBER",		           "" , 0}, ;
                              { "ITEMS",          		           {} , 2}, ;	// in listbox  is method aItems( aRows )
                              { "ITEMSIZE",       		           "" , 1}, ;	//140
                              { "ITEMSOURCE",     		           "" , 0}, ;	
                              { "JUSTIFY",        		           {} , 0}, ;
                              { "KEYSLIKECLIPPER",  	          .F. , 0}, ;
                              { "LABELLEFT",     		          .F. , 2}, ;
                              { "LEFT",          		          .F. , 2}, ;
                              { "LEFTJUSTIFY",   		          .F. , 2}, ;	// checkbox needs recreate
                              { "LIMIT",         		           "" , 0}, ;
                              { "LINESKIP",      		          .F. , 0}, ;
                              { "LISTWIDTH",     		           "" , 0}, ;
                              { "LOCK",          		          .F. , 0}, ;	//150
                              { "LOWERCASE",     		          .F. , 0}, ;
                              { "MARQUEE",       		           "" , 1}, ;	// look up from here
                              { "MAXLENGTH",     		          NIL , 0}, ;
                              { "MINWIDTH",      		           "" , 1}, ;
                              { "MULTICOLUMN",   		          .F. , 0}, ;
                              { "MULTILINE",     		          .F. , 2}, ;	// Button needs rebuild
                              { "MULTISELECT",   		          .F. , 0}, ;
                              { "MULTITAB",      		          .F. , 0}, ;
                              { "NAVIGATEBYCELL",		          .F. , 0}, ;                  /* Name of the control in the FMG file, must be unique */
                              { "NO3DCOLORS",    		          .F. , 0}, ;
                              { "NOALT",         		          .F. , 0}, ;
                              { "NOAUTOSIZEMOVIE",		          .F. , 0}, ;
                              { "NOAUTOSIZEWINDOW", 	          .F. , 0}, ;
                              { "NOBORDER",      		          .F. , 2}, ;	// need recreate on all controls
                              { "NOBUTTONS",     		          .F. , 0}, ;	
                              { "NOCHECKDEPTH",  		          .F. , 0}, ;
                              { "NOCLICKONCHECKBOX",            .F. , 0}, ;
                              { "NOCLONE",       		          .F. , 0}, ;
                              { "NOCONTEXTMENU", 		          .F. , 0}, ;
                              { "NODEIMAGES",    		           "" , 0}, ;	//170
                              { "NODELETEMSG", 		              .F.,0}, ; 
                              { "NODESTROY",     		          .F. , 0}, ;
                              { "NODIBSECTION",  		          .F. , 0}, ;
                              { "NOERRORDLG",    		          .F. , 0}, ;
                              { "NOFOCUSRECT",   		          .F. , 2}, ;
                              { "NOHEADERS",     		          .F. , 2}, ;	// Recreate grid to show headers/noheaders
                              { "NOHIDESEL",     		          .F. , 0}, ;
                              { "NOHOTLIGHT",    		          .F. , 2}, ;
                              { "NOHSCROLL",     		          .F. , 0}, ;
                              { "NOIMAGELIST",   		          .F. , 0}, ;
                              { "NOLINES",       		          .F. , 2}, ;	// Recreate grid to show nolines
                              { "NOLOADTRANSPARENT", 	          .F. , 0}, ;
                              { "NOMENU",        		          .F. , 0}, ;
                              { "NOMODALEDIT",   		          .F. , 0}, ;
                              { "NONEUNSELS",    		          .F. , 0}, ;
                              { "NOOPEN",        		          .F. , 0}, ;
                              { "NOPLAYBAR",     		          .F. , 0}, ;
                              { "NOPARENTREDRAW",		          .F. , 0}, ;
                              { "NOPREFIX",      		          .F. , 2}, ;	// Button needs recreate
                              { "NOPRINTOVER",   		          .F. , 2}, ;
                              { "NORCLICKONCHECKBOX",           .F. , 0}, ;
                              { "NOREFRESH",     		          .F. , 0}, ;
                              { "NORESIZE",      		          .F. , 0}, ;
                              { "NOROOTBUTTON",  		          .F. , 0}, ;
                              { "NOSCROLL",  	 		          .F. , 0}, ;
                              { "NOSHOWALWAYS",  		          .F. , 0}, ;
                              { "NOTABSTOP",     		          .F. , 0}, ;
                              { "NOTICKS",       		          .F. , 2}, ;
                              { "NOTODAY",       		          .F. , 2}, ;	// Monthcalander need recreate
                              { "NOTODAYCIRCLE", 		          .F. , 2}, ;	//200 Monthcalander need recreate
                              { "NOVSCROLL",     		          .F. , 2}, ;	// listbox needs recreate
                              { "NOWORDWRAP",     		          .F. , 0}, ;
                              { "NUMERIC",       		          .F. , 2}, ;
                              { "ONABORTEDIT",   		           "" }, ;
                              { "ONAPPEND",      		           "" }, ;
                              { "ONBEFOREEDITCELL",  	           "" }, ;
                              { "ONBEFOREINSERT", 		           "" }, ;
                              { "ONCANCEL",       		           "" }, ;
                              { "ONCE",          		          .F. , 0}, ;
                              { "ONCHANGE",       		           "" }, ;
                              { "ONCHECKCHANGE",  		           "" }, ;
                              { "ONCOLLAPSE",     		           "" }, ;
                              { "ONDBLCLICK",     		           "" }, ;
                              { "ONDELETE",       		           "" }, ;
                              { "ONDISPLAYCHANGE",		           "" }, ;
                              { "ONDROP",         		           "" }, ;
                              { "ONEDITCELL",     		           "" }, ;
                              { "ONEDITCELLEND",  		           "" }, ;
                              { "ONENTER",        		           "" }, ;	
                              { "ONEXPAND",       		           "" }, ;
                              { "ONGOTFOCUS",     		           "" }, ;
                              { "ONHEADCLICK",    		           "" }, ;
                              { "ONHEADDBLCLICK", 		           "" }, ;
                              { "ONHEADRCLICK",   		           "" }, ;
                              { "ONHSCROLL",      		           "" }, ;
                              { "ONINSERT",       		           "" }, ;
                              { "ONLABELEDIT",    		           "" }, ;
                              { "ONLISTCLOSE",    		           "" }, ;
                              { "ONLISTDISPLAY",  		           "" }, ;
                              { "ONLOSTFOCUS",    		           "" }, ;
                              { "ONMCLICK",       		           "" }, ;
                              { "ONMDBLCLICK",    		           "" }, ;
                              { "ONMOUSEMOVE",    		           "" }, ;
                              { "ONQUERYDATA",    		           "" }, ;
                              { "ONRCLICK",       		           "" }, ;
                              { "ONRDBLCLICK",    		           "" }, ;
                              { "ONREFRESH",      		           "" }, ;
                              { "ONROWREFRESH",   		           "" }, ;
                              { "ONSCRENDTRACK",  		           "" }, ;	
                              { "ONSELCHANGE",   		           "" }, ;
                              { "ONTEXTFILLED",  		           "" }, ;
                              { "ONVIEWCHANGE",  		           "" }, ;
                              { "ONVSCROLL",     		           "" }, ;
                              { "OPAQUE",        		          .F. , 2}, ;
                              { "OPTIONSHEIGHT",  		           "" , 0}, ;
                              { "OPTIONS",            {'One','Two'} , 2}, ;
                              { "OWNTOOLTIP",    		          .F. , 1}, ;
                              { "PADDING",       		           "" , 1}, ;
                              { "PAGESKIP",      		          .F. , 0}, ;	
                              { "PAINTLEFTMARGIN",		          .F. , 0}, ;
                              { "PARENT",        		           "" , 0}, ;
                              { "PASSWORD",      		          .F. , 0}, ;
                              { "PICTURE",       		           "" , 1}, ;
                              { "PLAINTEXT",     		          .F. , 1}, ;
                              { "PROGID",        		           "" , 0}, ;
                              { "RAGGEDRIGHT",   		          .F. , 0}, ;
                              { "RANGE",         		           "" , 0}, ;
                              { "READONLY",      		          .F. , 0}, ;
                              { "RECCOUNT",      		          .F. , 0}, ;
                              { "REFRESH",     		           "NIL" , 0}, ;
                              { "REPLACEFIELD",  		           "" , 0}, ;
                              { "RIGHTALIGN",    		          .F. , 2}, ;
                              { "RIGHT",     		             .F. , 2}, ;
                              { "ROWCOUNT",      		           "" , 0}, ;
                              { "RTL",           		          .F. , 0}, ;
                              { "SCROLLOP",      		          .F. , 0}, ;	//
                              { "SEARCHLAPSE",   		           "" , 0}, ;
                              { "SELBOLD",       		          .F. , 1}, ;
                              { "SELCOLOR",      		           "" , 1}, ;
                              { "SELECTEDCOLORS",		           "" , 1}, ;
                              { "SHIFT",         		           "" , 0}, ;
                              { "SHOWALL",       		          .F. , 0}, ;
                              { "SHOWMODE",      		          .F. , 0}, ;
                              { "SHOWNAME",      		          .F. , 0}, ;
                              { "SHOWNONE",      		          .F. , 2}, ;
                              { "SHOWPOSITION",  		          .F. , 0}, ;
                              { "SILENT",        		          .F. , 0}, ;
                              { "SINGLEBUFFER",  		          .F. , 0}, ;
                              { "SINGLEEXPAND",  		          .F. , 0}, ;
                              { "SMOOTH",        		          .F. , 1}, ;
                              { "SOLID",         		          .F. , 2}, ;
                              { "SORT",          		          .F. , 2}, ;	// listbox need recreate
                              { "SOURCEORDER",   		           "" , 0}, ;
                              { "SPACING",       		           "" , 0}, ;
                              { "STRETCH",       		          .F. , 2}, ;	//280
                              { "SUBCLASS",      		           "" , 0}, ;	
                              { "SYNCHRONIZED",		           "NIL" , 0}, ;
                              { "TABSWIDTH",      		           "" , 2}, ;	// Listbox is aWidht and no property
                              { "TARGET",         		           "" , 0}, ;
                              { "TEXTALIGNH",     		           "" , 2}, ;
                              { "TEXTALIGNV",     		           "" , 2}, ;
                              { "TEXTHEIGHT",     		           "" , 0}, ;	// listbox is nTextHeight
                              { "TEXTMARGIN",     		           "" , 1}, ;
                              { "THREESTATE",  	 		          .F. , 2}, ;
                              { "TIMEFORMAT", 		           "NIL" , 0}, ;
                              { "TITLEBACKCOLOR",	           "NIL" , 1}, ;
                              { "TITLEFONTCOLOR",	           "NIL" , 1}, ;
                              { "TOOLTIP",       		           "" , 1}, ;
                              { "TOP",       		             .F. , 2}, ;
                              { "TRAILINGFONTCOLOR",          "NIL" , 1}, ;
                              { "TRANSPARENT",   		          .F. , 2}, ;	// animated style
                              { "UPDATEALL",  			          .F. , 0}, ;
                              { "UPDATECOLORS",  		          .F. , 0}, ;
                              { "UPDOWN",        		          .F. , 2}, ;
                              { "UPPERCASE",     		          .F. , 0}, ;
                              { "USEBUTTONS",    		          .F. , 0}, ;
                              { "VALID",         		           "" , 0}, ;
                              { "VALIDMESSAGES", 		           "" , 0}, ;
                              { "VALUE",       		           "NIL" , 1}, ;
                              { "VALUESOURCE",   		           "" , 0}, ;
                              { "VCENTERALIGN",   		          .F. , 2}, ;
                              { "VERSION",       		           "" , 0}, ;
                              { "VERTICAL",      		          .F. , 2}, ;	// no es necesario igual a LEFT OJO SPLITBOX lo requiere
                              { "VIRTUAL",       		          .F. , 0}, ;
                              { "VSCROLL",       		          .F. , 0}, ;
                              { "WEEKNUMBERS",   		          .F. , 2}, ;
                              { "WHEN",          		           "" , 0}, ;
                              { "WHITEBACKGROUND", 	          .F. , 2}, ;	// AnimatedGif need recreate
                              { "WIDTH",          		          NIL , 1}, ;
                              { "WIDTHS", 				   { 60, 60 } , 1}, ;	
                              { "WORKAREA",				    "Alias()" , 0}, ;	
                              { "WRAP",          		          .F. , 1}, ;
;
                              { "OOHGDRAW",       		          .F. , 2}, ;	// reacomodar de aqui en delante
                              { "WINDRAW",       		          .F. , 2}, ;
                              { "DEFAULT",       		          .F. , 0}, ;
                              { "TIMEOUT",       		            0 , 0}, ;
                              { "NEWATROW",       		            0 , 0}, ;
                              { "INDEXISVALUE",   		          .F. , 0}, ;
                              { "CUEBANNER",   		              "" , 1}, ;
                              { "CURSOR",   		                 {} , 0}, ;
                              { "ONLINEUP",   		                  ''}, ;
                              { "ONLINEDOWN", 		                  ''}, ;
                              { "ONPAGEUP", 		                     ''}, ;
                              { "ONPAGEDOWN", 		                  ''}, ;
                              { "ONTOP", 		                        ''}, ;
                              { "ONBOTTOM", 		                     ''}, ;
                              { "ONTHUMB", 		                     ''}, ;
                              { "ONTRACK", 		                     ''}, ;
                              { "ONENDTRACK", 		                  ''}, ;
                              { "NOATTAHED", 		                  .F.,2}, ;
                              { "HEADERBACKCOLORS", 		            {}, 1} ;
										}




//#DEFINE NAME						1        
//#DEFINE dOBJ						2
        
#define dACTION         		3       
#define dACTION2       		   4       
#define dADDRESS       		   5  
#define dAFTERCOLMOVE  		   6  
#define dAFTERCOLSIZE  		   7        
#define dAPPEND        		   8        
#define dATTACHED      		   9        
#define dAUTOMOVE      		   10      
#define dAUTOPLAY      		   11      
#define dAUTOSIZE      		   12      
#define dAUTOSKIP      		   13
#define dBACKCOLOR     		   14
#define dBACKGROUND    		   15
#define dBACKGROUNDCOLOR 	   16
#define dBEFOREAUTOFIT  		17
#define dBEFORECOLMOVE  		18
#define dBEFORECOLSIZE  		19
#define dBORDER        		   20
#define dBOTH          		   21
#define dBOTTOM        		   22
#define dBOTTOMALIGN   		   23
#define dBOUNDTEXT     		   24
#define dBREAK         		   25
#define dBUFFER        		   26
#define dBUTTONS       		   27
#define dBUTTONWIDTH     	   28
#define dCANCEL        		   29
#define dCAPTION       		   30
#define dCELLTOOLTIP   		   31
#define dCENTER        		   32
#define dCENTERALIGN   		   33
#define dCHECKBOXES    		   34
#define dCHANGEBEFOREEDIT     35
#define dCLIENTEDGE    		   36
#define dCOLCOUNT      		   37
#define dCOLUMNCONTROLS		   38
#define dCOLUMNINFO    		   39
#define dCOLUMNWIDTH   		   40
#define dCONTROLW      		   41
#define dCTRLSATLEFT   		   42
#define dCTRLTYPE      		   43	
#define dDATE          		   44
#define dDATEFORMAT    		   45
#define dDEFAULTVALUES 		   46
#define dDEFAULTYEAR   		   47
#define dDELAYEDLOAD   		   48
#define dDELAYMSGS     		   49
#define dDELETE        		   50
#define dDELETEMSG     		   51
#define dDELETEWHEN    		   52
#define dDESCENDING    		   53
#define dDIBSECTION    		   54
#define dDISABLEALTA   		   55
#define dDISABLED      		   56
#define dDISPLAYEDIT   		   57
#define dDRAGITEMS     		   58
#define dDRAWBY      			59
#define dDYNAMICBACKCOLOR  	60
#define dDYNAMICFORECOLOR  	61
#define dEDIT          		   62
#define dEDITCELLVALUE 		   63
#define dEDITFIRSTVISIBLE  	64
#define dEDITHEIGHT     		65
#define dEDITLIKEEXCEL 		   66
#define dEDITKEYS      		   67
#define dEDITLABELS    		   68
#define dENABLEALTA    		   69
#define dENABLEDRAG    		   70
#define dENABLEDROP    		   71
#define dEXCLUDEAREA   		   72
#define dEXTDBLCLICK   		   73
#define dFIELD         		   74
#define dFIELDS        		   75
#define dFILE          		   76
#define dFILETYPE      		   77
#define dFIRSTITEM     		   78
#define dFIT           		   79
#define dFITIMG        		   80
#define dFITTXT        		   81
#define dFIXEDBLOCKS 			82
#define dFIXEDCOLS     		   83
#define dFIXEDCONTROLS 		   84
#define dFIXEDWIDTHS   		   85
#define dFLAT          		   86
#define dFOCUSEDPOS    		   87
#define dFOCUSRECT   			88
#define dBOLD          		   89
#define dFONTCOLOR     		   90
#define dFORECOLOR     		   91
#define dITALIC        		   92
#define dFONT          		   93
#define dSIZE          		   94
#define dSTRIKEOUT     		   95
#define dUNDERLINE     		   96
#define dFORCEREFRESH  		   97
#define dFORCESCALE    		   98
#define dFORMAT        		   99
#define dFULLMOVE      		   100
#define dFULLROWSELECT 		   101
#define dGRIPPERTEXT   		   102
#define dHANDCURSOR    		   103
#define dHBITMAP       		   104
#define dHEADERIMAGESGALIGN   105
#define dHEADERIMAGES   		106
#define dHEADERS       		   107
#define dHEADERCOLORS			108
#define dHEIGHT        		   109
#define dHELPID        		   110
#define dHORIZONTAL    		   111
#define dHOTTRACK      		   112
#define dHOTTRACKING   		   113
#define dHSCROLL       		   114
#define dICONLEFT      		   115
#define dIMAGE         		   116
#define dIMAGEALIGN  			117
#define dIMAGEMARGIN   		   118
#define dIMAGESIZE     		   119
#define dIMAGESOURCE   		   120
#define dINCREMENT     		   121
#define dINCREMENTAL   		   122
#define dINDENT        		   123
#define dINPLACE       		   124
#define dINPUTMASK     		   125
#define dINSERTTYPE    		   126
#define dINTEGRALHEIGHT		   127
#define dINTERNALS     		   128
#define dINTERVAL      		   129
#define dINVISIBLE     		   130
#define dITEMCOUNT     		   131
#define dITEMIDS       		   132
#define dITEMIMAGES    		   133
#define dITEMIMAGENUMBER		134
#define dITEMS          		135
#define dITEMSIZE       		136
#define dITEMSOURCE     		137
#define dJUSTIFY        		138
#define dKEYSLIKECLIPPER  	   139
#define dLABELLEFT     		   140
#define dLEFT          		   141
#define dLEFTJUSTIFY   		   142
#define dLIMIT         		   143	
#define dLINESKIP      		   144
#define dLISTWIDTH     		   145
#define dLOCK          		   146
#define dLOWERCASE     		   147
#define dMARQUEE       		   148
#define dMAXLENGTH     		   149
#define dMINWIDTH      		   150
#define dMULTICOLUMN   		   151
#define dMULTILINE     		   152
#define dMULTISELECT   		   153
#define dMULTITAB      		   154
#define dNAVIGATEBYCELL		   155
#define dNO3DCOLORS    		   156	
#define dNOALT         		   157
#define dNOAUTOSIZEMOVIE		158
#define dNOAUTOSIZEWINDOW 	   159
#define dNOBORDER      		   160
#define dNOBUTTONS     		   161
#define dNOCHECKDEPTH  		   162
#define dNOCLICKONCHECKBOX    163
#define dNOCLONE       		   164
#define dNOCONTEXTMENU 		   165
#define dNODEIMAGES    		   166
#define dNODELETEMSG				167
#define dNODESTROY     		   168
#define dNODIBSECTION  		   169
#define dNOERRORDLG    		   170
#define dNOFOCUSRECT   		   171
#define dNOHEADERS     		   172
#define dNOHIDESEL     		   173
#define dNOHOTLIGHT    		   174
#define dNOHSCROLL     		   175
#define dNOIMAGELIST   		   176
#define dNOLINES       		   177
#define dNOLOADTRANSPARENT 	178
#define dNOMENU        		   179
#define dNOMODALEDIT   		   180
#define dNONEUNSELS    		   181
#define dNOOPEN        		   182
#define dNOPLAYBAR     		   183
#define dNOPARENTREDRAW		   184
#define dNOPREFIX      		   185
#define dNOPRINTOVER   		   186
#define dNORCLICKONCHECKBOX   187
#define dNOREFRESH     		   188
#define dNORESIZE      		   189
#define dNOROOTBUTTON  		   190
#define dNOSCROLL  	 		   191
#define dNOSHOWALWAYS  		   192
#define dNOTABSTOP     		   193
#define dNOTICKS       		   194
#define dNOTODAY       		   195
#define dNOTODAYCIRCLE 		   196
#define dNOVSCROLL     		   197
#define dNOWORDWRAP     		198
#define dNUMERIC       		   199
#define dONABORTEDIT   		   200
#define dONAPPEND      		   201	
#define dONBEFOREEDITCELL  	202
#define dONBEFOREINSERT 		203
#define dONCANCEL       		204
#define dONCE          		   205
#define dONCHANGE       		206
#define dONCHECKCHANGE  		207
#define dONCOLLAPSE     		208
#define dONDBLCLICK     		209
#define dONDELETE       		210
#define dONDISPLAYCHANGE		211
#define dONDROP         		212
#define dONEDITCELL     		213
#define dONEDITCELLEND  		214
#define dONENTER        		215
#define dONEXPAND       		216
#define dONGOTFOCUS     		217
#define dONHEADCLICK    		218
#define dONHEADDBLCLICK 		219
#define dONHEADRCLICK   		220
#define dONHSCROLL      		221
#define dONINSERT       		222
#define dONLABELEDIT    		223
#define dONLISTCLOSE    		224
#define dONLISTDISPLAY  		225
#define dONLOSTFOCUS    		226
#define dONMCLICK       		227
#define dONMDBLCLICK    		228
#define dONMOUSEMOVE    		229
#define dONQUERYDATA    		230
#define dONRCLICK       		231
#define dONRDBLCLICK    		232
#define dONREFRESH      		233
#define dONROWREFRESH   		234
#define dONSCRENDTRACK  		235
#define dONSELCHANGE   		   236
#define dONTEXTFILLED  		   237
#define dONVIEWCHANGE  		   238
#define dONVSCROLL     		   239
#define dOPAQUE        		   240
#define dOPTIONSHEIGHT  		241
#define dOPTIONS       		   242
#define dOWNTOOLTIP    		   243
#define dPADDING       		   244
#define dPAGESKIP      		   245
#define dPAINTLEFTMARGIN		246
#define dPARENT        		   247
#define dPASSWORD      		   248
#define dPICTURE       		   249
#define dPLAINTEXT     		   250
#define dPROGID        		   251
#define dRAGGEDRIGHT   		   252
#define dRANGE         		   253
#define dREADONLY      		   254
#define dRECCOUNT      		   255
#define dREFRESH     			256
#define dREPLACEFIELD  		   257
#define dRIGHTALIGN    		   258
#define dRIGHT                259
#define dROWCOUNT      		   260
#define dRTL           		   261
#define dSCROLLOP      		   262
#define dSEARCHLAPSE   		   263
#define dSELBOLD       		   264
#define dSELCOLOR      		   265
#define dSELECTEDCOLORS		   266
#define dSHIFT         		   267
#define dSHOWALL       		   268
#define dSHOWMODE      		   269
#define dSHOWNAME      		   270
#define dSHOWNONE      		   271
#define dSHOWPOSITION  		   272
#define dSILENT        		   273
#define dSINGLEBUFFER  		   274
#define dSINGLEEXPAND  		   275
#define dSMOOTH        		   276
#define dSOLID         		   277
#define dSORT          		   278
#define dSOURCEORDER   		   279
#define dSPACING       		   280
#define dSTRETCH       		   281
#define dSUBCLASS      		   282
#define dSYNCHRONIZED			283
#define dTABSWIDTH      		284
#define dTARGET         		285
#define dTEXTALIGNH     		286
#define dTEXTALIGNV     		287
#define dTEXTHEIGHT     		288
#define dTEXTMARGIN     		289
#define dTHREESTATE  	 		290
#define dTIMEFORMAT 			   291
#define dTITLEBACKCOLOR		   292
#define dTITLEFONTCOLOR		   293
#define dTOOLTIP       		   294
#define dTOP       		 	   295	
#define dTRAILINGFONTCOLOR	   296
#define dTRANSPARENT   		   297
#define dUPDATEALL  			   298
#define dUPDATECOLORS  		   299
#define dUPDOWN        		   300
#define dUPPERCASE     		   301
#define dUSEBUTTONS    		   302
#define dVALID         		   303
#define dVALIDMESSAGES 		   304
#define dVALUE       			305
#define dVALUESOURCE   		   306
#define dVCENTERALIGN   		307
#define dVERSION       		   308
#define dVERTICAL      		   309
#define dVIRTUAL       		   310
#define dVSCROLL       		   311
#define dWEEKNUMBERS   		   312
#define dWHEN          		   313
#define dWHITEBACKGROUND 	   314
#define dWIDTH          		315
#define dWIDTHS 				   316
#define dWORKAREA				   317
#define dWRAP          		   318
                              
// por acomodar
#define dOOHGDRAW             319
#define dWINDRAW              320
#define dDEFAULT              321
#define dTIMEOUT          		322
#define dNEWATROW         		323
#define dINDEXISVALUE         324
#define dCUEBANNER            325
#define dCURSOR               326
#define dONLINEUP   	         327
#define dONLINEDOWN 		      328
#define dONPAGEUP 		      329
#define dONPAGEDOWN 		      330
#define dONTOP 			      331
#define dONBOTTOM 	         332
#define dONTHUMB 			      333
#define dONTRACK 		         334
#define dONENDTRACK 	         335
#define dNOATTACHED           336
#define dHEADERBACKCOLORS		337

#define DATA_OPTIONS ;
;	//			THIS					is This
	{ ;
		{ "ALLOWEDIT",		   			dEDIT }, ;
		{ "AUTOFIT",		   	dFORCESCALE }, ;
		{ "ADJUST",			   	dFORCESCALE }, ;
		{ "BKGNDCOLOR",    dBACKGROUNDCOLOR }, ;
		{ "COLUMNWHEN",               dWHEN }, ;
		{ "COLUMNVALID",             dVALID }, ;
		{ "FONTBOLD",		   			dBOLD }, ;
		{ "FONTITALIC",	   		 dITALIC }, ;
		{ "FONTNAME",		   			dFONT }, ;
		{ "FONTSIZE",		   			dSIZE }, ;
		{ "FONTSTRIKEOUT",   	 dSTRIKEOUT }, ;
		{ "FONTUNDERLINE",   	 dUNDERLINE }, ;
		{ "FORECOLOR",	 	   	 dFONTCOLOR }, ;
		{ "GET",                     dFIELD }, ;
		{ "LEFTALIGN",         dLEFTJUSTIFY }, ;
		{ "ICON",                  dPICTURE }, ;
		{ "IMAGES",                  dIMAGE }, ;
		{ "OF",	 		             dPARENT }, ;
		{ "ONCLICK",		          dACTION }, ;
		{ "NOHSCROLLBAR",        dNOHSCROLL }, ;
		{ "NOVSCROLLBAR",        dNOVSCROLL }, ;
		{ "ONMOUSEHOVER",      dONMOUSEMOVE }, ;
		{ "NOVSCROLLBAR",        dNOVSCROLL }, ;
		{ "PLACEHOLDER",         dCUEBANNER }, ;
		{ "SOURCEISVALUE",    dINDEXISVALUE } ;
	} 

#define EVENT_OPTIONS ;
	{ ;
		{ "ONCLICK",		          dACTION }, ;
		{ "ONMOUSEHOVER",      dONMOUSEMOVE }  ;
	}


			
#DEFINE dSign_COLORS ;
	{ ;
		{"AQUA"    ,{   0, 255, 255 }},;
		{"BLACK"   ,{   0,   0,   0 }},;
		{"BLUE"    ,{   0,   0, 255 }},;
		{"BROWN"   ,{ 128,  64,  64 }},;
		{"CYAN"    ,{   0, 255, 255 }},;
		{"FUCHSIA" ,{ 255,   0, 255 }},;
		{"GRAY"    ,{ 128, 128, 128 }},;
		{"GREEN"   ,{   0, 255,   0 }},;
		{"LCYAN"   ,{ 153, 217, 234 }},;
		{"LGREEN"  ,{   0, 128,   0 }},;
		{"MAGENTA" ,{ 255,   0, 255 }},;
		{"MAROON"  ,{ 128,   0,   0 }},;
		{"NAVY"    ,{   0,   0, 128 }},;
		{"OLIVE"   ,{ 128, 128,   0 }},;
		{"ORANGE"  ,{ 255, 128,  64 }},;
		{"PINK"    ,{ 255, 128, 192 }},;
		{"PURPLE"  ,{ 128,   0, 128 }},;
		{"RED"     ,{ 255,   0,   0 }},;
		{"SILVER"  ,{ 192, 192, 192 }},;
		{"TEAL"    ,{   0, 128, 128 }},;
		{"WHITE"   ,{ 255, 255, 255 }},;
		{"YELLOW"  ,{ 255, 255,   0 }},;
		; /* Metro UI Colors */
		{"METRO_LIME"         ,{ 164, 196, 0 }   },;	
		{"METRO_GREEN"        ,{ 96, 169, 23 }   },;
		{"METRO_EMERALD"      ,{ 0, 138, 0 }     },;
		{"METRO_TEAL"         ,{ 0, 171, 169 }   },;
		{"METRO_BLUE"         ,{ 0, 175, 240 }   },;
		{"METRO_CYAN"         ,{ 27, 161, 226 }  },;
		{"METRO_COBALT"       ,{ 0, 80, 239 }    },;
		{"METRO_INDIGO"       ,{ 106, 0, 255 }   },;
		{"METRO_VIOLET"       ,{ 170, 0, 255 }   },;
		{"METRO_PINK"         ,{ 220, 79, 173 }  },;
		{"METRO_MAGENTA"      ,{ 216, 0, 115 }   },;
		{"METRO_CRIMSON"      ,{ 162, 0, 37 }    },;
		{"METRO_RED"          ,{ 206, 53, 44 }   },;
		{"METRO_ORANGE"       ,{ 250, 104, 0 }   },;
		{"METRO_AMBER"        ,{ 240, 163, 10 }  },;
		{"METRO_YELLOW"       ,{ 227, 200, 0 }   },;
		{"METRO_BROWN"        ,{ 130, 90, 44 }   },;
		{"METRO_OLIVE"        ,{ 109, 135, 100 } },;
		{"METRO_STEEL"        ,{ 100, 118, 135 } },;
		{"METRO_MAUVE"        ,{ 118, 96, 138 }  },;
		{"METRO_TAUPE"        ,{ 135, 121, 78 }  },;
		;	/* Dark colors	*/
		{"METRO_DARK_BROWN"   ,{ 99, 54, 47 }    },;	
		{"METRO_DARK_CRIMSON" ,{ 100, 0, 36 }    },;
		{"METRO_DARK_MAGENTA" ,{ 129, 0, 60 }    },;
		{"METRO_DARK_INDIGO"  ,{ 75, 0, 150 }    },;
		{"METRO_DARK_CYAN"    ,{ 27, 110, 174 }  },;
		{"METRO_DARK_COBALT"  ,{ 0, 53, 106 }    },;
		{"METRO_DARK_TEAL"    ,{ 0, 64, 80 }     },;
		{"METRO_DARK_EMERALD" ,{ 0, 62, 0 }      },;
		{"METRO_DARK_GREEN"   ,{ 18, 128, 35 }   },;
		{"METRO_DARK_ORANGE"  ,{ 191, 90, 21 }   },;
		{"METRO_DARK_RED"     ,{ 154, 22, 22 }   },;
		{"METRO_DARK_PINK"    ,{ 154, 22, 90 }   },;
		{"METRO_DARK_VIOLET"  ,{ 87, 22, 154 }   },;
		{"METRO_DARK_BLUE"    ,{ 22, 73, 154 }   },;
		; // Light colors
		{"METRO_LIGHT_BLUE"   ,{ 67, 144, 223 }  },;
		{"METRO_LIGHTER_BLUE" ,{ 0, 204, 255 }   },;
		{"METRO_LIGHT_CYAN"   ,{ 89, 205, 226 }  },;
		{"METRO_LIGHT_TEAL"   ,{ 69, 255, 253 }  },;
		{"METRO_LIGHT_GREEN"  ,{ 122, 214, 29 }  },;
		{"METRO_LIGHT_OLIVE"  ,{ 120, 170, 28 }  },;
		{"METRO_LIGHT_ORANGE" ,{ 255, 193, 148 } },;
		{"METRO_LIGHT_PINK"   ,{ 244, 114, 208 } },;
		{"METRO_LIGHT_RED"    ,{ 218, 90, 83 }   },;
		; // Gray colors
		{"METRO_BLACK"        ,{ 0, 0, 0 }        },;
		{"METRO_DARK"         ,{ 29, 29, 29 }     },;
		{"METRO_GRAY_DARKER"  ,{ 34, 34, 34 }     },;
		{"METRO_GRAY_DARK"    ,{ 51, 51, 51 }     },;
		{"METRO_GRAY"         ,{ 85, 85, 85 }     },;
		{"METRO_GRAY_LIGHT"   ,{ 153, 153, 153 }  },;
		{"METRO_GRAY_LIGHTER" ,{ 238, 238, 238 }  },;
		{"METRO_WHITE"        ,{ 255, 255, 255 }  } ;
	}

// Window Cargo   			
#DEFINE aSELECTED		oWin:Cargo[2]	// array with selected controls
#DEFINE aBox			oWin:Cargo[3]	// array with box coordinates
#DEFINE POSITION		oWin:Cargo[4]	// array with previous mouse coordinates
#DEFINE RestofFMG		oWin:Cargo[5]	
#DEFINE MODIFIED		oWin:Cargo[6]	// t/f if form modified
#DEFINE ONGROW			oWin:Cargo[7]	// t/f if cursor is in grow mode
#DEFINE aFRAME			oWin:Cargo[8]	// array used for DrawFocusRect() see Selecting()
#DEFINE MOVING			oWin:Cargo[9]	// t/f if moving selected controls

// Controls cargo
#define cTYPE		1
#define GRIDPOS	2
#define lSELECTED	3
#define lMOVED		4
#define TABINDEX	5
