[Gambas-user] Copying forms between different projects

John Rose john.aaron.rose at gmail.com
Mon May 18 13:05:01 CEST 2020


Le 18/05/2020 à 09:43, John Rose a écrit :

> Class code can obviously be copied between different projects by use 
> of Copy & Paste. How can a form be copied from one project to another?
>

"By using the "Import..." menu entry."


Thanks Benoît. However, when I did the import from the relevant .form 
file in the .src directory, it displayed the form not as a form but with 
the following code:

# Gambas Form File 3.0

{ Form Form
   MoveScaled(0,0,64,49)
   Icon = Picture["StreamRecorder.png"]
   Border = False
   { DrawingAreaDesktop DrawingArea
     MoveScaled(2,2,60,45)
     Tag = "DrawingAreaDesktop"
   }
}

Is this convertible from code to display it as a form (though it doesn't 
look like it contains enough detail, e.g. properties, for the form?

BTW is there a good way (I use Thunderbird) to 'highlight' code in the 
email,as many forums do?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200518/6a91d930/attachment.html>


More information about the User mailing list