Pure Design, another Form Designer

Developed or developing a new product in PureBasic? Tell the world about it.
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

Hello sec,

there are a couple of screen shots in the help file. If this is not what you are looking for, just let me know.

gerd
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Another Form Designer called Pure Design

Post by Lothar Schirm »

Hello gerd,

a nice GUI Designer! But I did not find a possibility to create more than one form. And is it possible to create a form from a PureBasic source code? Or is it possible to update gadget parameters in the source code, like in Pureform? Otherwise it may be difficult to modify existing projects.

Kind regards,
Lothar
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

Hello Lothar,

thanks for your comment.
For now only one form for each project can be created.
It is not possible to create a form from PB source code with PureDesign.

Updating gadget parameters is possible within PureDesign, if the form has been created with it and project file has been saved. Load the project file (*.pbx) and make your modifications. After that you should save it and create or update your code.

Updating existing code:
"Overwrite existing Code File" will replace the existing code file with the modified version. Any previous manual changes of your code will be lost.
"Insert without events" will replace anything above the comment: ";->Your code here. Don't remove this line!" and leave anything below the comment untouched.

Hope this helps.

I hope to release an enhanced version later this year.

Have a nice day

gerd
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Another Form Designer called Pure Design

Post by Lothar Schirm »

Hello gerd,

I have changed some gadget parameters and added two new gadgets in the designer, then I saved the project and created the code, chosing "Insert without events". I opened the code file in the PureBasic IDE, but neither the gadget parameters were changed nor the new gadgets were added, nothing has been changed. I think I will wait until to a new release.

Kind regards,
Lothar
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by mk-soft »

Hello Gerd
you have the project very well continue
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

@ mk-soft
Thank you

@Lothar
Thanks for reporting the problem with "Insert without events". What I've found is, that under Windows it does not work, whereas under Linux it does. That's why it escaped my attention. Sorry about that.
Anyhow I found the problem and it will be fixed for the next release, which I hope to upload some time this week.

Have a nice day

gerd
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Another Form Designer called Pure Design

Post by Lothar Schirm »

gerd,

will you adapt Pure Design to new releases of PureBasic? For example, "Frame3DGadget" has been changed to "FrameGadget" (PB 5.20), I did not look for other changes.

It would also be nice if it would be possible to change the order of the gadgets in the "Viewer" window (this should also change the code accordingly) and to save the code without event loop for users who want to write their own event handling code (e.g. using the new "BindEvent"-functions).

Kind regards,
Lothar
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

Hi,
just uploaded a new version of PureDesign. Links in first post are updated.

V1.0.1:
Updated for PureBasic 5.20 LTS
Fixed some bugs, including "Insert without events", not working under Windows
Added "Options" to Preferences ("Enable explicit" and "Don't create event")
Added paths for project and images to Preferences

Any feedback is welcome

Have fun

gerd
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Another Form Designer called Pure Design

Post by Lothar Schirm »

works pretty well (Windows8). But I selected "Editor_ReadOnly"or "Editor_WordWrap" in the property window of an EditorGadget, and the designer did not accept it. :cry:
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

It does work, the only problem again is, that there are differences between Linux and Windows unfortunately.
Under Windows, at least Win7 you not only have to check the box, but also select the item ("Editor_ReadOnly"or "Editor_WordWrap"). Then it works.
For now I have no other solution, but I will see, if I can do something to change this.

regards

gerd
User avatar
[blendman]
Enthusiast
Enthusiast
Posts: 297
Joined: Thu Apr 07, 2011 1:14 pm
Location: 3 arks
Contact:

Re: Another Form Designer called Pure Design

Post by [blendman] »

Hi

I have tried it, great job !

I have had some bugs, and at the end, it was impossible to close any window ^^ (win8).
I don't know what I have done for that.

Why have you choose separate windows for the interface and not a big window with panel or window children (like photoshop for example) ?
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

Hi blendman,

thanks, but

I am sorry, but I don't understand what you are saying with "I have had some bugs, and at the end, it was impossible to close any window ^^ (win8)."? :|

May be you could explain a little bit better? :?:

regards

gerd
User avatar
[blendman]
Enthusiast
Enthusiast
Posts: 297
Joined: Thu Apr 07, 2011 1:14 pm
Location: 3 arks
Contact:

Re: Another Form Designer called Pure Design

Post by [blendman] »

gerd wrote:May be you could explain a little bit better? :?:
I have tried your application, add some gadgets, change the window properties....
At a moment, without reason, I can't close any window (gadgets, menu or the new form created).

I have to do : ctrl + Alt+suppr to access to the taskbar and kill the application.


Sorry for my english ^^.
gerd
User
User
Posts: 94
Joined: Tue Feb 23, 2010 7:50 pm
Location: Germany

Re: Another Form Designer called Pure Design

Post by gerd »

@[blendman]

I just did what you said, added some gadgets, a menu, a toolbar and a statusbar, but I could not reproduce your problem. I saved the code and project file at various stages and had no problem. Also closing the form after that was no problem.
Just a thought, did you try to close the form by itself at the upper right corner? This is not possible, the form will close only when you close PureDesign itself. Before that you should save your form (project) and create a codefile.

Hope this helps

gerd

OS: Windows 7, x64
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Another Form Designer called Pure Design

Post by Kwai chang caine »

Is it normal the X86 not works, like if it's a X64 version :cry:
ImageThe happiness is a road...
Not a destination
Post Reply