PlanetSquires Forums

Support Forums => General Board => Topic started by: Marc van Cauwenberghe on June 11, 2013, 12:43:18 PM

Title: Visual designer
Post by: Marc van Cauwenberghe on June 11, 2013, 12:43:18 PM
Hi,

I remember asking for some code to make a visual designer on this forum but I can't find it anymore :(
Anyone else have some links or code.

Thanks in advance,
Marc
Title: Re: Visual designer
Post by: Paul Squires on June 28, 2013, 01:17:30 PM
Making a visual designer is a lot of work. Some things are fairly easy but like most projects, the more features you want to add, the more advanced programming you need to use. A simple visual designer where you only draw controls on a screen and set some properties is fairly straight forward. There is code available to get you started. I believe the first version of FireFly used code based on Jule's Tab Control edit project (I think that's what I used) - it could have been other code from the PB Forum, not sure - that was a long time ago so my memory is pretty fuzzy. MetaGL project maybe?

Adding code generation, editor integration, etc... is a lot of work.
Title: Re: Visual designer
Post by: Paul Squires on June 28, 2013, 07:37:54 PM
Okay, found the download links:
http://www.powerbasic.com/support/downloads/files/VDesign.zip
http://www.powerbasic.com/support/downloads/files/QTab2.zip
Title: Re: Visual designer
Post by: Marc van Cauwenberghe on July 05, 2013, 04:00:46 PM
Thank you Paul,

I will have a look. I do not want to make a full VD. I just want to be able to put some controls on a canvas of some sorts. Move them about, resize them, put one in front of the other. Basis stuff (i think)  Like say for a label design program for example. I had a look at some code that uses a child form as a basis of a control but it was only one form. As soon as Iput another I get into trouble.
I will get back on this if I may.

Marc