[Gambas-user] where's a projects form width/height settings stored?

Brian G brian at westwoodsvcs.com
Tue Nov 3 15:34:20 CET 2020


I have done something like that I have emailed you directly with the files as they are too large for the mail list 

Its a project that acts like a gambas shell and produces correct gbs3 scripts from the input programs, or interactively 

It behaves like bash interactively, but creates gambas scripts in the background. 

Thank You 
Brian G 


From: "Bruce Steers" <bsteers4 at gmail.com> 
To: "Gambas mailing list" <user at lists.gambas-basic.org> 
Sent: Sunday, November 1, 2020 11:39:54 AM 
Subject: [Gambas-user] where's a projects form width/height settings stored? 


Hi all. 
I've been thinking about seeing if it's possible to make some kind of gambas script file maker. 

Or less a maker and more a converter that can read a basic gambas project source made in the IDE and generate a working script file. 

Could be a good/quick solution to backward compatibility issues with small projects as a gambas script doesn't version check so no bytecode error (unless there's actual bytecode errors but at least it will try :) ) 

Class files should be easy enough just adding a few "Use" commands. 
(I just discovered a problem with Application.Path/Args[0] though) 

Forms though , bit trickier. 
Mostly looked like something i might be able to manage, converting a projects .form file lines into "New" statement to make the GUI. 
All the info seemed to be there but then... 

First hurdle to stumble at was finding somewhere the numbers that matched my forms width and height settings? 

or does the forms initial MoveScaled() setting make the form the right width but do not reflect the numbers? (never used Movescaled so no idea what it's for) 
tia 
BruceS 



----[ http://gambaswiki.org/wiki/doc/netiquette ]---- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201103/f99b7a96/attachment-0001.htm>


More information about the User mailing list