It is currently Tue Dec 10, 2019 11:31 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Jul 15, 2017 1:52 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 2456
Really cool - maybe it will find it's way into PB6 :wink:

What I didn't see so far - saving/loading a design. This could be easily done by something like...
Code:
      Procedure SaveDesign(file.s="Test.svd")

         If CreateFile(0,file)

            ResetMap(SVDListGadget())
            With SVDListGadget()
               While NextMapElement(SVDListGadget())
                  WriteInteger(0,\Gadget)
                  WriteInteger(0,\Type)
                  WriteInteger(0,\DragHandle)
                  WriteInteger(0,\X)
                  WriteInteger(0,\Y)
                  WriteString(0,\Model)
                  WriteString(0,\Name)
                  :
               Wend
               CloseFile(0)
            EndWith
         EndIf

      EndProcedure


...if everything of the design is saved in SVDListGadget structure. Is this correct or is more information needed to restore a saved form?


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Jul 15, 2017 2:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 753
Location: Nottinghamshire UK
Hi Michael Vogel yes there is more ! I have programmed all the extraction for all required fields and reloading and reinitializing the the gui with the loaded saved form. As I`m doing this when time permits it`s taking longer than I had hoped. Plus having to follow and understand someone else`s code. Hopefully I`ll get back to it this weekend.

Chris R have done a great job. I for one think it should be included in PB6+ lol (sorry polo no offence ment) but then again I`m sure some of the better coders could do it quicker and better. :)

Export and imports as xml

Zebuddi.
Image

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Jul 16, 2017 12:39 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 236
Hi Zebuddi123,
I am very impatient to see the result when did you post the new code ?
Thanks in advance


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Jul 16, 2017 9:38 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 753
Location: Nottinghamshire UK
Hi loulou2522 and All. Had some time today and just finished. Save and Load is up and running although not extensively tested. I`ll post the code as a zip with link shortly, please test but remember I am still figuring out as I go along how ChrisR`s code is set up!

As I thought ChrisR code would been nice clean and easy to follow :) although it does get a bit complicated for me after line 14. But I have persevered :lol:

I hope it runs without to much of a hiccup. Famous last words :)

Zebuddi.

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Jul 16, 2017 9:52 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 753
Location: Nottinghamshire UK
Hi to All Here`s The Link :) Updated link forgot to free a map on load complete. :oops:

Zebuddi.

https://goo.gl/sp1hDo

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Mon Jul 17, 2017 2:42 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 841
Location: Cuernavaca, Mexico
Is it just me, or did you lose all the color information? :?

e.g. - backcolor of Main Form
- Front/back color on Container, etc.

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Mon Jul 17, 2017 4:13 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 753
Location: Nottinghamshire UK
Hi blueb just working on userdata now. Main goal for yesterday was to get the gadget to load in correct positions and redraw, Having to scan through the code as some of the userdata ie windows width/height are not save in the original map. So Hopefully next couple of days as time permits I will have that sorted.

Zebuddi. :)

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Fri Jul 21, 2017 3:44 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Jul 13, 2004 2:17 pm
Posts: 171
Looks very nice. Good work...

_________________
Bye Karl


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Jun 01, 2019 1:57 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 438
Downloaded SweetyVD just now to test it, but it doesn't run on my PC.

I hope it's not looking in the Registry for the Compiler home path, because I run PureBasic portably.

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Jun 01, 2019 2:05 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 841
Location: Cuernavaca, Mexico
Look in your PureBasic Themes folder (e.g. F:\PureBasic\Themes) for
the SilkTheme.zip. Copy it over to the same folder as SweetyVD.

SweetyVD will unzip it as needed. :)

_________________
- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sat Jun 01, 2019 2:24 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 438
Thanks blueb, that worked.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Nov 17, 2019 6:12 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 11
Hi i'm new here and purebasic too :wink:

I don't know how to install this tool correctly (i think)

I call it from the Tools menu, and I already can make interfaces with it, but... How can reload these in case SweetDV was closed? :shock: Or it's not possible to continue working on a interface done yesterday by example? (I hope)

Thank you by share it.


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Fri Nov 22, 2019 7:04 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 11
Mmmm... Ok, I think is not possible to reload forms at all :?
The only alternative is the integrated designer?


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Fri Nov 22, 2019 8:41 pm 
Online
Enthusiast
Enthusiast

Joined: Mon Apr 10, 2017 6:17 pm
Posts: 302
Location: Germany
Caronte3D wrote:
The only alternative is the integrated designer?


There are several other options but i prefer PureVision

_________________
webpage


Top
 Profile  
Reply with quote  
 Post subject: Re: SweetyVD (Visual Designer)
PostPosted: Sun Nov 24, 2019 7:53 pm 
Offline
User
User
User avatar

Joined: Fri Jan 22, 2016 5:33 pm
Posts: 11
Thanks for your answer, but I see PureVision very old style (80s?) :?
I doesn't understand why the coder of SweetyVD forgot to include a load or import function.

I Just discovered DialogDesigner for XML dialogs, It's not the same thing but is better than nothing :wink:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye