Page 1 of 1

I can not edit the form's code

Posted: Sat Dec 05, 2015 2:55 pm
by skinkairewalker
every time I try to edit the form of code, after I saved and click on run, simply disappears ...

Re: I can not edit the form's code

Posted: Sat Dec 05, 2015 3:17 pm
by TI-994A
skinkairewalker wrote:every time I try to edit the form of code, after I saved and click on run, simply disappears ...
Hello, and welcome to the PureBasic forum.

The form code can only be edited to a minimal extent, as indicated at the beginning of the generated code:

Code: Select all

;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, 
; but anything else will be dropped when the code is compiled.
; Event procedures needs to be put in another source file.
;
Everything else should be coded in separate modules.