No announcement yet.

Multiple Source Files

  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple Source Files

    What is the correct way to slit a program into multiple source files? I have been creating .inc files and adding code to each. This works but is not ideal and when I am viewing a .inc file, the object inspector is not visible and I cannot paste code into the .inc from the object inspector.

    Also if I try and press the Download code button while viewing a .inc file it give an error saying unknown project type.

  • #2

    The idea was that you wouldn't have graphical code in the .inc files, also to highlight that you weren't in a .4dg, also because you can have multiple projects open at once and the .inc could be used by many of them, how do you decide which graphics belong to it?

    So you always have to CTRL-Tab back to the main form, to add graphics and/or compile, sorry