Page 34 of 103

Posted: Thu May 10, 2007 12:57 pm
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:\) ?

Posted: Thu May 10, 2007 1:10 pm
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

Posted: Thu May 10, 2007 1:23 pm
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 ?

Posted: Thu May 10, 2007 1:25 pm
by milan1612
I just copied PureFORM to "E:/PureFORM".
Runs without any problems. Weird anyway...

BTW, thanks for PureFORM. It's great 8)

Posted: Thu May 10, 2007 1:28 pm
by milan1612
gnozal wrote:Some error message / line ?
No, PureFORM just doesn't react anymore and I have to kill the process...

Posted: Fri May 11, 2007 10:39 am
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.

Posted: Fri May 11, 2007 4:00 pm
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.

Posted: Fri May 11, 2007 5:32 pm
by gnozal
Update

Changes :
- fixed : changing gadget flags should not change tab order in generated code
- added : basic balloon tooltips (optional for each gadget)

Posted: Fri May 11, 2007 7:13 pm
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.

Posted: Sat May 12, 2007 8:07 am
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.

Posted: Sat May 12, 2007 9:54 am
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.

ListIcon / width of columns

Posted: Sat May 12, 2007 10:41 am
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

Posted: Sat May 12, 2007 11:42 am
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 ....

Posted: Sat May 12, 2007 12:40 pm
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!

Posted: Sat May 12, 2007 2:07 pm
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: