Form based on Formtemplate
Author: firstname.lastname@example.org (jfro)
Wie are working with Uniface 9.04.01.02 and just encountered a in my opinion strange behaviour. I would like to know if you think this is normal or not.
We have different forms basing on a form template. In this form template we have in the <operation>-trigger an include-proc "#include TS_STD_LIB:IP_STD_F_OPER".
- In one of these forms we wanted to disable this standard include-procs. So we just commented the proc wih ;
After compiling it was "of course" still commented. During debugging we discovered that Uniface still uses the include-Proc - Code from the form-template. In the listing we could see that Uniface loaded the commented include-Proc from the template.
So what we see in the operation-trigger doesn't correspond to what uniface really does.
- We made another try and deleted the include-Proc statement in the operations-trigger and wrote "return (-1)". After compiling we still had our "return(-1)" - but again in running the form Uniface activated the "old" include-Proc from the template.
Is this a bug? Or do I simply not understand how Uniface works?
Thanks for your comments!