For years I created a UEW the way I wanted. Most to work you have to follow some rules in the prgs source code.
The problem that occurs in uestudio is the delimited folders. As harbor language follows a style of exit procedure with random RETURNS, you will have to follow these rules.
Following in the examples below I will discriminate white spaces with the character +
Every function should start without spaces, for example:
FUNCTION MYFUNC () //> Correct
+++ FUNCTION MYFUNC () //> wrong
In the case of RETURN you also have to follow the rule to close the function or procedure or method.
Example 01
FUNCTION MYFUNC ()
RETURN NIL //> Correct
Example 02
FUNCTION MYFUNC ()
+++ RETURN NIL //> wrong, will not close function correctly
Now for when to use RETURNS in the range of functions:
Example 03 is wrong
FUNCTION MYFUNC ()
IF VAR == 0
RETURN .F. //> there will be a break in the function here
ENDIF
RETURN .T.
Example 04 is correct
FUNCTION MYFUNC () // start without leading spaces
+++ IF VAR == 0 // With spaces
++++++ RETURN .F. //> All returns with spaces are ignored
+++ ENDIF
RETURN .T. // No leading spaces
This UEW has many harbor functions that will be displayed simultaneously as you type.
SECOND STEP
The UETMPLTE.TPL file has almost all Fivewin commands. Replace it from UeStudio in GROBAL templates.
To work just start typing according to the names of the templates. Example for the Fivewin DIALOG command.
type: _fw_dialog
Download the compressed file at this link:
https://filebin.net/ybxc3cfbwp0o02b8/UePacote.7z?t=ldkt6nxmFor any other questions, please contact me.