One other VO error: compiler error for non existing variables which are there
Posted: Thu Oct 05, 2017 9:32 am
There's one more problem I sometimes have with VO, actually it's 2 but usually connected.
On compiling, I get compiler errors telling the class variables of some of the controls on a window are absent. Usually the last added ones. They are there and what helps is moving a random control in that window left and right and then it compiles without errors.
Also it happens now and then that I set a font (type, size, etc) which is visible in the generated code but not in the output.
I regularly export all AEF's and import them in a freshly created repo so I do not suspect repo corruption to be the cause.
What helped: I selected Edit all code, removed all resources, static defines, the init and the class and saved the windows once again. After adding manually added class variables, everything was regenerated and the problem was gone. But after a while I had again one Fixedtext set to bold which did not show bold.
Is this maybe also something which can be solved with a setting?
Dick
On compiling, I get compiler errors telling the class variables of some of the controls on a window are absent. Usually the last added ones. They are there and what helps is moving a random control in that window left and right and then it compiles without errors.
Also it happens now and then that I set a font (type, size, etc) which is visible in the generated code but not in the output.
I regularly export all AEF's and import them in a freshly created repo so I do not suspect repo corruption to be the cause.
What helped: I selected Edit all code, removed all resources, static defines, the init and the class and saved the windows once again. After adding manually added class variables, everything was regenerated and the problem was gone. But after a while I had again one Fixedtext set to bold which did not show bold.
Is this maybe also something which can be solved with a setting?
Dick