B
Bruno
Guest
How can I insert pieces of code into MXML that are included at compile time in the code, such as Progress includes ? For example : in Progress I use this way to do what I want.
MyInclude.i
DEF VAR myVar AS CHAR NO-UNDO.
FUNCTION fnSetChar RETURNS LOGICAL:
ASSIGN myVar = 'test'.
END FUNCTION.
MyProgram.p
{MyInclude.i}
MESSAGE fnSetChar() SKIP myVar
VIEW-AS ALERT-BOX BUTTONS OK.
There is many ways to use includes in Progress, passing parameters, reusing codes, etc.
I would like to know if anyone have an idea how can I do something like this in Flex. i.e.:
<fxeclarations>
//include the content of the "include file" here in compile time
</fxeclarations>
Sorry for my English. Hope anyone can help me with this.
Thanks.
Continue reading...
MyInclude.i
DEF VAR myVar AS CHAR NO-UNDO.
FUNCTION fnSetChar RETURNS LOGICAL:
ASSIGN myVar = 'test'.
END FUNCTION.
MyProgram.p
{MyInclude.i}
MESSAGE fnSetChar() SKIP myVar
VIEW-AS ALERT-BOX BUTTONS OK.
There is many ways to use includes in Progress, passing parameters, reusing codes, etc.
I would like to know if anyone have an idea how can I do something like this in Flex. i.e.:
<fxeclarations>
//include the content of the "include file" here in compile time
</fxeclarations>
Sorry for my English. Hope anyone can help me with this.
Thanks.
Continue reading...