I can not edit the form's code

You need some new stunning features ? Tell us here.
User avatar
skinkairewalker
Enthusiast
Enthusiast
Posts: 637
Joined: Fri Dec 04, 2015 9:26 pm

I can not edit the form's code

Post by skinkairewalker »

every time I try to edit the form of code, after I saved and click on run, simply disappears ...
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: I can not edit the form's code

Post 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.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Post Reply