Page 14 of 45

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 5:54 pm
by Polo
spacebuddy wrote:Polo, when is next beta? :D
Should be when PB beta 2 is released :)
In the meantime I've made quite a lot of fixes, feel free to continue to test beta 9 ;)

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 7:21 pm
by gerd
Hello Polo,

when will the first Beta for Linux be released for testing? Or did you skip the Linux version?

Greetings gerd

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 7:32 pm
by Polo
gerd wrote:when will the first Beta for Linux be released for testing? Or did you skip the Linux version?
No I didn't skip it at all! There is a bug on PB beta 1 with canvases so I decided to wait until beta 2 is released, which should be in the coming days. ;)

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 8:34 pm
by gerd
ok, then I wait.

Greetings gerd

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 8:47 pm
by Perkin
Thinking out loud again...

Regarding various OS skins, could you on initialization if not already saved, create blank windows with all major gadget types, and the grab png(s) of them, and store them with their system metrics, and use then use them in the designer.

That way any user styles applied (esp. XP/Linux) could be used.

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Wed Aug 29, 2012 8:55 pm
by Polo
Perkin wrote:Thinking out loud again...

Regarding various OS skins, could you on initialization if not already saved, create blank windows with all major gadget types, and the grab png(s) of them, and store them with their system metrics, and use then use them in the designer.

That way any user styles applied (esp. XP/Linux) could be used.
Perhaps, though such code would bloat the application, makes loading slow, adds complication when drawing at a different size and so on... It's just easier/better to make a proper skin - in the end even if there is no XP style, you'll still be able to create a good form through the app ;)

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 9:30 am
by Warmonger

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 12:18 pm
by Polo
Thanks you. I'm quite happy with the result:

Image

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 5:13 pm
by Polo
Added SplitterGadget for next version - not an easy one!
It seems to work fine overall, though it has a limitation for gadget mouse selection inside containers which are inside a splitter :P

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 5:19 pm
by jesperbrannmark
This is probably the wrong forum for this. but since you seem to be on fire right now :wink:
Does this gadget exist or is it just a canvasgadget or a imagegadget with a editorgadget in the middle?
Image

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 5:24 pm
by Polo
jesperbrannmark wrote:This is probably the wrong forum for this. but since you seem to be on fire right now :wink:
:mrgreen:

It's a Cocoa search object, I've seen that on Xcode, perhaps with wilbert library you can use it, haven't looked at it as there's no way to make it crossplatform ;)
Edit: wilbert has been faster on the OSX forum :)

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 8:11 pm
by Polo
Ok the splitter is "finished" and seems to work OK :)

Image

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 9:01 pm
by Polo
Beta 10 released, please test new and old features (Splitter, events, ...) :)
The text input on OSX version is still non reliable.

http://www.gdpcomputing.co.uk/formdesigner.html

Using events is not very hard, it's based on a model view controller, there's no documentation but basically the structure is as per below:

Window and gadgets creation => one PBF file
Window and gadgets events => one PB File

Project => another pb file that includes the PBF files.
There's one event procedure per gadget which should be something like Procedure Event_MyGadget(eventgadget, eventtype) (the name and parameter names don't matter)

Waiting for your feedback :)

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 9:11 pm
by ts-soft
>> Beta 10 released

the downloadfile is empty :wink:

Re: Form Designer for Mac/Windows/Linux - beta 9

Posted: Thu Aug 30, 2012 9:22 pm
by Polo