PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Build mode information

Post by michel »

Hello Gnozal,

In PureForm you show the build mode information in the main PureForm window (Build mode: #Window_xy - Over Gadget_XY) of every gadget when passing with the mouse over the different gadgets in an opened window.
It would be fine to show this information once the mouse is positioned over a gadget within the menu of the right mouse click.
This would be very helpful in the code infusion mode where you have already a lot of windows opened.

michel
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Post by michel »

Hello Gnozal,

Referring to my message it would be incredible to pick by mouse click the gadget reference and paste it within the code infusion window at the moment you need it when treating gadget data

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

Re: Build mode information

Post by gnozal »

michel wrote:It would be fine to show this information once the mouse is positioned over a gadget within the menu of the right mouse click.
This would be very helpful in the code infusion mode where you have already a lot of windows opened.
You already have the gadget identity in the context menu : look at the 'Delete Gadget XXX' item :wink:
michel wrote:Referring to my message it would be incredible to pick by mouse click the gadget reference and paste it within the code infusion window at the moment you need it when treating gadget data
Like right-click on the gadget and chose a menu item 'Paste to Code Infusion' and the gadget reference is pasted into the code ?
I will see what I can do ....
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes
- new gadget context menu while in Code Infusion mode with 2 items 'Paste Enumeration to Code infusion' & 'Select Gadget in Code infusion'
- the manual is now on line (see first page of thread)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

Post by michel »

Hello Gnozal

G R E A T :D :D :D

These options help to save a lot of time in coding and they prevent from errors.

Thank you

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

Post by gnozal »

Update

Changes :
- during IncludeBinary code generation, PureFORM now checks for duplicate images, so only unique images are included in the generated source
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 »

Thanks :D
Windows 7 & PureBasic 4.4
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Great work gnozal :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
mueckerich
User
User
Posts: 22
Joined: Thu Dec 16, 2004 10:36 am
Location: Germany/Allgaeu

Post by mueckerich »

Hi gnozal, again thanks for your incredible tools. :D

I have a few minor suggestions. After place a new Gadget on a form i want to edit the Enum in the gadget properties. So i select the whole String and try to give another Name (for Example #txtEingabefeld). As i press the # key PureForm starts to verify the Input and shows me a Mesage "incorrect Value". Woudn't it be better if you do the verification when you leave the Input field.

The next thing is, it would be nice if the user can use the Keyboard to set the X- and Y Coordinats an the X- and Y Dimensions of the Gadget. This Spingadget stuff is a little annoying.

There is also a question.
I use PF as plugin from JaPBe. After editing the form i save the PF project, update thecode in source and close PF. In the JaPBe the code is still the old one. I have to close the source and open it again to get my code up to date. Is that behaviour correct?
Believe means you don't know
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

mueckerich wrote:I have a few minor suggestions. After place a new Gadget on a form i want to edit the Enum in the gadget properties. So i select the whole String and try to give another Name (for Example #txtEingabefeld). As i press the # key PureForm starts to verify the Input and shows me a Message "incorrect Value". Woudn't it be better if you do the verification when you leave the Input field.
I will try to fix this.
mueckerich wrote:The next thing is, it would be nice if the user can use the Keyboard to set the X- and Y Coordinats an the X- and Y Dimensions of the Gadget. This Spingadget stuff is a little annoying.
You can move or resize a gadget using the keyboard (see FAQ in help file) using the cursor keys (UP / DOWN / LEFT / RIGHT) [+ CTRL to resize].

Code: Select all

Arrow keys            Move selected gadget (if parent window has focus) 
CTRL + Arrow keys     Resize selected gadget (if parent window has focus) 
mueckerich wrote:There is also a question.
I use PF as plugin from JaPBe. After editing the form i save the PF project, update thecode in source and close PF. In the JaPBe the code is still the old one. I have to close the source and open it again to get my code up to date. Is that behaviour correct?
I tried to explain how to do it in the FAQ (see helpfile).

Code: Select all

Q : I heard I can start PureFORM from jaPBe as a plugin, change my form and go back to jaPBe and have there the updated code. How to do it?
A : Here we go :
1. Enable the code update feature :

- In Preferences, check 'Add PureFORM tags to generated code' 
. The first time, save the generated code with 'Save as code' in the main menu. 
. The next time (after you changed the form) you can update the source with 'Update code in source' in the main menu. 

2. Enable jaPBe reloading changed code :

- In Preferences, check 'Reload code in jaPBe after PureFORM closes' 

Then it should work like this : 
3. Open 'MyCode.pb' in jaPBe.
4. Start PureFORM as jaPBe plugin : it will open the project 'MyCode.pbf'.
5. 'MyCode.pb' is reloaded when you quit PureFORM (if project has changed and code has been updated).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- Gadget/Window Properties dialogs : the enumeration validation and duplicate check is now more user friendly
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 »

Thanks again skilled Coder for the great PureForm!
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 a 'Redo' feature
So now you have Undo [CTRL + Z] and Redo [CTRL + Y]
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Post by dige »

Thanks a lot!
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

code infusion, focus

Post by michel »

Hello Gnozal,

Within Pureform you give, by right click on a gadget, the focus to the right code infusion place except when clicking on a menu or a submenu point.
Could you please correct that

thanks

Michel
Post Reply