Hi,
FYI, some issues during and after adapting my production code.
Automatic adaption problems :
WAIT WINDOW tcText TIMEOUT (tlWait)
is adapted towWAIT(tcText TIMEOUT (tlWait), 'WINDOW')
.
After adaptation I attempt to rebuild the project :
1.
- the project hook introduced by FiC causes the problem, as it caches the class library and this cannot be closed while the project is open.
I have removed the hook and will instead rely on the VFP startup command to run AB() etc.
.
Paul
The syntax seems incorrect.
This sould be wWait (tcText, 'WINDOW TIMEOUT tlWait')
Hi Paul,
(1) is a "known issue": FAA does a pretty good job in parsing VFP code, however with less refinements than the VFP compiler.
We consider this a minor issue as it results in a compilation error that you can easily pin down and fix reading the adaptation log.
you need to expand the tlWait
variable because it's out of wWait()
scope: wWait(tcText, textmerge('WINDOW TIMEOUT <<cl(tlWait)>>'))
(2) should happen only after you modify a .h
referenced in your project, a quite rare occurrence.
The project hook adds the ab\
folder to set("path")
; if you think you can manage this yourself, you can just remove it.
FYI, another adaptation issue.
Sometimes, but not always, FAA puts the wlInitFirst code into the form's init above the lparameters statement :
&& Added by FoxInCloud Adaptation Assistant version 2.28 (source mode) on 08/08/2019 09:59:51
if m.this.wlInitFirst or m.this.wlLAN
&& Move here the code to be executed IN DESKTOP MODE and only when form is first instantiated IN WEB MODE:
&& custom member initialization, BindEvent(member, 'event', thisform, 'method'), etc.
endif
if m.this.wlInitFirst
&& WEB MODE: form's initial instantiation; code below this block will later execute for each user of this form
return
endif
&& / Added by FoxInCloud Adaptation Assistant version 2.28 (source mode) on 08/08/2019 09:59:51
#define CONTROLAREA_RIGHTMARGIN 20
*--------------------------------------------------------------------
*--- ...various method comments...
*--------------------------------------------------------------------
lparameters TheFormID, TheSourceTable, SourceParameterArray, MakeNewRecordIfNone, MakeNewRecord, NewValuesArray, ReadOnlyForm, ControlsTableName, JustHideWhenOKCancel
...etc...
Perhaps the #define causes the problem.