PureFORM 1.99 (yet another FORM designer)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- fixed two issues posted by Molchyn and linkerstorm
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Micko
Enthusiast
Enthusiast
Posts: 244
Joined: Thu May 24, 2007 7:36 pm
Location: Senegal
Contact:

I need Ctrl+A

Post by Micko »

Hello Gnozal
It would be cool to use shortcuts Ctrl+A to select all the gadets.
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

gnozal
:roll:
sorry same effect:
1 create ButtonImage - insert picture - clone 3 times - change pics on clones
2 create Image - insert picture - clone 4 times- change pics on clones
:roll:
it's generate code like this

Code: Select all

;{ Gadgets
Enumeration
  #ButtonImage_0
  #ButtonImage_1
  #ButtonImage_2
  #ButtonImage_3
  #Image_4
  #Image_5
  #Image_6
  #Image_7
  #Image_8
EndEnumeration
;}
;{ Images
Enumeration
  #Image_ButtonImage_0 
  #Image_ButtonImage_0??????????????
  #Image_ButtonImage_0??????????????
  #Image_ButtonImage_0??????????????
  #Image_Image_4
  #Image_Image_4??????????????
  #Image_Image_4??????????????
  #Image_Image_4??????????????
  #Image_Image_4??????????????
EndEnumeration
;}
;{ Included Images
DataSection ;>
  Image_ButtonImage_0:
  IncludeBinary "C:\ico\1 - Home_32x32.jpg"
  Image_ButtonImage_0:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_ButtonImage_0:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_ButtonImage_0:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_Image_4:
  IncludeBinary "C:\ico\1 - Home_32x32.jpg"
  Image_Image_4:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_Image_4:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_Image_4:??????????????
  IncludeBinary "C:\ico\internet.jpg"
  Image_Image_4:??????????????
  IncludeBinary "C:\ico\internet.jpg"
EndDataSection ;<
;}
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Molchyn wrote:gnozal

sorry same effect:
1 create ButtonImage - insert picture - clone 3 times - change pics on clones
2 create Image - insert picture - clone 4 times- change pics on clones

it's generate code like this
I never thought about images when I added the clone feature ! I only tested this feature with gadgets like buttons or optiongadgets.

Please try the new build.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

gnozal
Thanks it's work
but sometime when you just start PF and use default distance 5 pix it's can produce different distance not a 5 pix(looks like a some correlation between size of botton or pic)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Molchyn wrote:gnozal
Thanks it's work
but sometime when you just start PF and use default distance 5 pix it's can produce different distance not a 5 pix(looks like a some correlation between size of botton or pic)
You mean you choose 5 as distance in cloning options and the distance isn't 5 ?
For each new clone, the X or Y is incremented like this

Code: Select all

        If CloningDirection ; HORIZONTAL
          CopiedGadget\GadgetCoordX + CopiedGadget\GadgetCoordWidth + CloneDistance
        Else ; VERTICAL
          CopiedGadget\GadgetCoordY + CopiedGadget\GadgetCoordHeight + CloneDistance
        EndIf
And it seems to work here : I have compared buttons, imagebuttons and images, the results are the same.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

And it seems to work here : I have compared buttons, imagebuttons and images, the results are the same.
I am always try to explain on ez way(english not my native language), but this one difficult to explaine...
if you choose distance in pix some it's ok-work, but if in first time after starting you comp and just use a default parameters (5 pix, vertical position etc) exept quantity of clones and add a some pic before cloning it's may be happen.
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

I have been working with PureForm for about 3 days now and I find it easy to use and is pretty cool when designing code... Thumbs up gnozal.

Is there a Undo, Redo feature and a way to re-sort the gadgets for the TabIndex?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

akee wrote:I have been working with PureForm for about 3 days now and I find it easy to use and is pretty cool when designing code... Thumbs up gnozal.
Thanks
akee wrote:Is there a Undo, Redo feature
There is an 'Undo' feature, it has to be activated in the preferences ('Enable undo'). When activated, select Edit->Undo in main menu or CTRL+Z.
There is no 'Redo' feature.
akee wrote:and a way to re-sort the gadgets for the TabIndex?
Right-click on a gadget, in context menu select item 'Tab order'.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
BoyMark
New User
New User
Posts: 6
Joined: Fri May 25, 2007 8:07 am

Post by BoyMark »

This tool is pretty good programmed. No need to look for another one and not need to pay dollars. Thanks.
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Hi gnozal,

PureFORM just crashed, see the image for details.
Image

I opened the PBIDE and loaded my sources, then I tried to open PureFORM.
It seems like PureFORM tries to read from the PBIDE executable.

EDIT: No it is not the PBIDE, and FORM_LoadKeywordsFromPurebasicEXE is set to 0.
Download my configuration from: http://milan1612.funpic.de/temp/PureFORM.ini
Windows 7 & PureBasic 4.4
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

milan1612 wrote:Hi gnozal,
PureFORM just crashed, see the image for details.
Thanks for the report.
I have uploaded a new version (build 203).
Does it solve your problem ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Yes, no problems here anymore. Thanks for the fix, that was really annoying :D
Windows 7 & PureBasic 4.4
BoyMark
New User
New User
Posts: 6
Joined: Fri May 25, 2007 8:07 am

Post by BoyMark »

Hey ya gnozal dude it would be so nice PureForm has a minimize button. Take the source code and make a fresh compile all right?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- added minimize button to PureFORM main window
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply