predicates
onShow :window::showListener.
clauses
onShow(_Source,_Data):-% The lines moved from the automatically generated code here.
sciLexer_ctl:edgeMode:=1,
Important: This kind of error repeats for all properties of the Scilex control which are set using the native fact variable. See the source file c:\program files (x86)\visual prolog 7.5 pe\pfc\gui\controls\scilexer\scilexer.pro in the line range 4480+-100. The setting of many properties should be moved to a generatedOnShow predicate.
Yes, it is correct that many control properties (especially on a rich external control like the sciLexer) cannot be used before the actual control is created; which take place in the "show" process.