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 »

milan1612 wrote:Found a bug in Build 175:
1. Open Build 175
2. Create a ExplorerList
3. Create a ExplorerTree -> nothing happens
4. Click on Form [several times]
The Program crashes...
(Seems like a infinite loop)
EDIT: It's irrelevant which Control you create first, the ExplorerTree creation always crashes. BTW I have Undo enabled.
Hum ...
No problem here : I just created this form with ExplorerList and ExplorerTree

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶PureFORM_Clipboard2
;Window¶1¶#Window_0¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶Window_0¶432¶203¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;ExplorerListGadget¶1¶#ExplorerList_0_Gadget0¶1¶-1¶-1¶0¶0¶9¶0¶0¶¶Gadget_0¶¶-1¶0¶c:\¶¶0¶0¶0¶0¶0¶46¶17¶312¶151¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;ExplorerTreeGadget¶2¶#ExplorerTree_1_Gadget1¶1¶-1¶-1¶0¶0¶10¶0¶0¶¶Gadget_1¶¶-1¶0¶c:\¶¶0¶0¶0¶0¶0¶45¶182¶313¶192¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
Both can take some time to initialize but that's all.
I have Undo enabled too.
And another project with 3 ExplorerTrees : no problem (WinNT4 sp6 and WinXP sp2) ?!

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶PureFORM_Clipboard2
;Window¶1¶#Window_0¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶Window_0¶450¶200¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;ExplorerTreeGadget¶1¶#ExplorerTree_0_Gadget0¶1¶-1¶-1¶0¶0¶10¶0¶0¶¶Gadget_0¶¶-1¶0¶c:\¶¶0¶0¶0¶0¶0¶85¶16¶267¶123¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;ExplorerTreeGadget¶2¶#ExplorerTree_1_Gadget1¶1¶-1¶-1¶0¶0¶10¶0¶0¶¶Gadget_1¶¶-1¶0¶c:\¶¶0¶0¶0¶0¶0¶85¶142¶265¶111¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;ExplorerTreeGadget¶3¶#ExplorerTree_2_Gadget2¶1¶-1¶-1¶0¶0¶10¶0¶0¶¶Gadget_2¶¶-1¶0¶c:\¶¶0¶0¶0¶0¶0¶85¶258¶265¶133¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
Just an idea : do you have a C: drive (the default path is set to C:\) ?
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 »

I just tested your Form and while loading the Form, PureFORM crashes again.
It is stored in:
"C:\Dokumente und Einstellungen\milan1612\Desktop\PureFORM"

Any idea?

EDIT: Second Form crashes too
EDIT2: No problems with Vista Ultimate, just XP Professional SP2 crashes
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:I just tested your Form and while loading the Form, PureFORM crashes again.
Some error message / line ?
milan1612 wrote:It is stored in:
"C:\Dokumente und Einstellungen\milan1612\Desktop\PureFORM"
Any idea?
No, just tested a copy placed on the desktop : no problem (XP sp2).
Some antivirus issue ?
Last edited by gnozal on Thu May 10, 2007 1:25 pm, edited 1 time in total.
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 »

I just copied PureFORM to "E:/PureFORM".
Runs without any problems. Weird anyway...

BTW, thanks for PureFORM. It's great 8)
Windows 7 & PureBasic 4.4
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

gnozal wrote:Some error message / line ?
No, PureFORM just doesn't react anymore and I have to kill the process...
Windows 7 & PureBasic 4.4
mueckerich
User
User
Posts: 22
Joined: Thu Dec 16, 2004 10:36 am
Location: Germany/Allgaeu

Post by mueckerich »

Problem with Build 175:
If you change the "String_UpperCase" Flag in the Gadget properties, the original Tab order of this Gadget is destroyed.
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:Problem with Build 175:
If you change the "String_UpperCase" Flag in the Gadget properties, the original Tab order of this Gadget is destroyed.
It's because each time you change a flag for a gadget, the gadget is deleted / recreated. I will fix it in the generated code but I cannot fix it in the form (until next loading) because the tab order is the gadget creation order.
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 :
- fixed : changing gadget flags should not change tab order in generated code
- added : basic balloon tooltips (optional for each gadget)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
iNX
User
User
Posts: 27
Joined: Wed Jan 24, 2007 12:15 pm

Post by iNX »

Hi, this is my first post on the board, and it's about.. PureForm :)
First of all i want to thank gnozal for the great work done..
Then i'd have a question. I haven't been able to find a way to add fixed width columns to a listicongadget. I've seen that they're created all with the same width and then adjusted with a message. Is this option missing from pureform or i just can't find it? :) And in case it's missing, could it be implemented?

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

Post by gnozal »

iNX wrote:I haven't been able to find a way to add fixed width columns to a listicongadget. I've seen that they're created all with the same width and then adjusted with a message. Is this option missing from pureform or i just can't find it?
This option doesn't exist currently.
iNX wrote:And in case it's missing, could it be implemented?
I will think about it.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
iNX
User
User
Posts: 27
Joined: Wed Jan 24, 2007 12:15 pm

Post by iNX »

Another Request ;) This should be faster to implement.. :)

I'm using an imagegadget whose image isn't taken from a file, but is created at runtime with StartDrawing and so on.
So I have to use it with: ImageGadget(8,10,10,890,20,ImageID(2))
I think that an option to use imagegadget that way could be useful for cases like this.
michel
Enthusiast
Enthusiast
Posts: 142
Joined: Mon Feb 19, 2007 5:47 pm
Location: Luxemburg

ListIcon / width of columns

Post by michel »

Hello Gnozal,

The demand for a possibility to enter the width of ListIcon columns is correct, I myself already looked for an option like that. Please give us this possibility.

Thanks

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

Post by gnozal »

iNX wrote:Another Request ;) This should be faster to implement.. :)
I'm using an imagegadget whose image isn't taken from a file, but is created at runtime with StartDrawing and so on.
So I have to use it with: ImageGadget(8,10,10,890,20,ImageID(2))
I think that an option to use imagegadget that way could be useful for cases like this.
Done (build 178)
You can now enter something like "ImageID(1)" in the 'Image File' stringgadget.
Note that you will get a compilation error with F6/F7 if you don't define the corresponding image in the form (with code infusion).
michel wrote:Hello Gnozal,

The demand for a possibility to enter the width of ListIcon columns is correct, I myself already looked for an option like that. Please give us this possibility.

Thanks
That may take a little longer ....
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
iNX
User
User
Posts: 27
Joined: Wed Jan 24, 2007 12:15 pm

Post by iNX »

gnozal wrote:Done (build 178)
You can now enter something like "ImageID(1)" in the 'Image File' stringgadget.
Note that you will get a compilation error with F6/F7 if you don't define the corresponding image in the form (with code infusion).
Works great!
Thank you very much!
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post by flaith »

Hi gnozal (great tool, thanks)

just a little refresh issue with the window "code view"

clic on "Code" twice => the code disappears

:wink:
“Fear is a reaction. Courage is a decision.” - WC
Post Reply