Page 29 of 103

Posted: Tue Apr 10, 2007 12:23 pm
by gnozal
Update

Changes :
- fixed broken gadget tooltip code generation in gadget enumeration mode (only worked in #PB_Any mode).

Posted: Wed Apr 11, 2007 5:52 am
by michel
Hello Gnozal,

Could you please check up your last downloadable file, build 145 is missing.

Michel

Posted: Wed Apr 11, 2007 8:58 am
by gnozal
michel wrote:Hello Gnozal,

Could you please check up your last downloadable file, build 145 is missing.

Michel
Sorry, should be fixed.

Posted: Fri Apr 13, 2007 7:53 am
by gnozal
Update

Changes :
- added : gadget text now supports escape characters \n [CRLF] and \t [TAB], usefull for multiline gadgets
- added : custom gadgets (user defined gadgets) ; please see help topic in PureFORM.chm

user gadgets

Posted: Sat Apr 14, 2007 9:30 am
by michel
Hello Gnozal,

Super idea to integrate user gadgets. Unfortunately I discovered the following bug:
adding a customer gadget works fine, deleting it does only work in the window; the code window and the gadget list stay unchanged. :?:

Michel

user gadget

Posted: Sat Apr 14, 2007 9:42 am
by michel
Hello Gnozal,

Sorry for my previous reply, i was to quick: it is OK

new question: If there are more than one user gadgets:

how to select them in the right click menu?
(the gadget bar opens a selection window, OK)

michel

Posted: Sat Apr 14, 2007 10:24 am
by srod
Jeepers, what a great tool this has become!

:shock:

Great work Gnozal.

Re: user gadget

Posted: Sat Apr 14, 2007 11:10 am
by gnozal
michel wrote:new question: If there are more than one user gadgets: how to select them in the right click menu?
(the gadget bar opens a selection window, OK)michel
Oops .. forgot the context menu ... should be fixed (build 147).
srod wrote:Jeepers, what a great tool this has become!
Thanks !

Posted: Sat Apr 14, 2007 3:45 pm
by GeoTrail
Soon it will be integrated into PB 4.5 ;) hehehe

Posted: Mon Apr 16, 2007 4:57 am
by PureLust
Thanks a lot gnozal for this awesome great Masterpeace !!! :D

But ... I'm afraid I found a bug during my first tries, where PureFORM crashes (=> hangs with 100% CPU usage). :oops:

After it chrashes several times during my tests, lately I found a quick way to reproduce the Bug:

- create a new Project
- create a PanelGadget
- add 4 more Panels to the Gadget (maybe not necessary)
- create a Frame3DGadget within the PanelGadget
- play a little bit with the Frame3DGadget and change Position and Size a few times.

After a few Clicks you will already recognize that something is not working like expected and after a few more moves (the main problem seems to be a resize of the Frame3DGadget) PureFORM will not respond anymore and hangs with a 100% CPU Usage.

If you cannot reproduce this bug, I could try to create a ScreenShot-Video for you.

Further I have some small proposals and a question:
- Option to LOCK the coordinates and dimensions of a Gadget (maybe quick lock for all as well as a seperate lock for x,y,with,height)
- accept smaler gridvalues then 5 pixel
- Option to Cut a Gadget (usually Ctrl+X => Copy into Clipboard and Delete)
- Moving a Group of selected Gadgets by using the Cursor-Keys would be very helpfull (or is it a bug, that it does not work so far?).
- Enabeling MultiLine-Selection in the Gadget-List Window would make it easier to select the right Gadgts for a Multiselect or a Group.

Reasons for the first two of the above proposals:
The Gridfunction itselve is very usefull ... no question.
But quite often the height of a Gadget (and also either the x or y coordinate) has to be an amount which could not be devided by the gridvalue - so the value has to be set seperately using the SpinGadgets in the PropertySection ... no Problem so far.
But if you grab this Gadget again (to move it or change only one dimension) all 4 corners will snap to the Grid again and you have to resize the hole Gadget again.
So either a gridsnapamount of less than 5 or even better a lock-option to lock dimensions and/or x/y-coordinates whould be great.

- Question: Is there an easier way to move a Gadget from one container/panel into another container/panel (or even out of a container/panel) rather than copying it, deleting it, pasting it into the other container/panel, moving it to the right (old) coordinates and reentering all its properties again?
[Edit:] I just recognized the new "Group"-Functions. Even if they are not available for a single Gadget, they are still very helpfull to simplify the procedure above.

Nevertheless this peace of software is absolutely awesome !!!
ThanX a lot for this and also for all the other great PureXXXX libs from you.

Greetz, PureLust.


----------------------------------------------------------------------------------------------------------------------------------
Sorry for my imperfect english, I tried my best .... I hope you can understand what I'd like to advise. :oops:

Posted: Mon Apr 16, 2007 8:16 am
by gnozal
PureLust wrote:I found a quick way to reproduce the Bug:

- create a new Project
- create a PanelGadget
- add 4 more Panels to the Gadget (maybe not necessary)
- create a Frame3DGadget within the PanelGadget
- play a little bit with the Frame3DGadget and change Position and Size a few times.
After a few Clicks you will already recognize that something is not working like expected and after a few more moves (the main problem seems to be a resize of the Frame3DGadget) PureFORM will not respond anymore and hangs with a 100% CPU Usage.
Sorry, I followed your procedure but no crash or 100% CPU usage here (on a PII-300 MHz test machine !).
I am not sure the video would help, but the crash error message almost surely would.
PureLust wrote:- Option to LOCK the coordinates and dimensions of a Gadget (maybe quick lock for all as well as a seperate lock for x,y,with,height)
You can already disable a gadget, so you can't move/resize it accidently
PureLust wrote:- accept smaler gridvalues then 5 pixel
- Option to Cut a Gadget (usually Ctrl+X => Copy into Clipboard and Delete)
- Moving a Group of selected Gadgets by using the Cursor-Keys would be very helpfull .
- Enabeling MultiLine-Selection in the Gadget-List Window would make it easier to select the right Gadgts for a Multiselect or a Group.
I will think about it
Note that I don't use the grid myself : I use the gadget align / arrange functions and get perfect alignments without much trouble.
PureLust wrote:Is there an easier way to move a Gadget from one container/panel into another container/panel
Currently, you can only move a gadget within the same parent (window or gadget), not from a parent to another.

Posted: Mon Apr 16, 2007 2:04 pm
by PureLust
gnozal wrote:Sorry, I followed your procedure but no crash or 100% CPU usage here (on a PII-300 MHz test machine !).
Sorry, I forgot to tell you under which environment i was testing:

On this machine I'm running Windows XP-Pro SP2 - maybe you're not using XP on a PII-300 MHz.
Machine: A64-3200, 1GB, Radeon X800-XL, 2 Monitor Desktop 1680x1050 + 1024x768, PureForm 1.50 build 147

[Edit:] A friend of mine could also reproduce this Bug on his Machine: WinXP-Home, AthlonXP 2400+, 768MB, Radeon X1650, Desktop: 1680 x 1050
First he created the Frame3DGadget outside the PanelGadget and had no problems. After he createt it within the Panel and played a bit with the Frame-Size PureFORM hangs with 100% CPU-Usage.
Nevertheless I'll test it on 2 other machines (another XP-SP2 and Win2k-SP4) and will give you the Results.
gnozal wrote:You can already disable a gadget, so you can't move/resize it accidently
ThanX, that should help. Stupid me ... :oops: ... I thought this button will do something else.

[Edit2] Maybe it has something to do with the Real-Time-Refresh of the Code- and Property-Windows (maybe a recursion-problem during the Refresh?).
Usually I'm working while the following Windows are open:
- PureForm (Main Window)
- Gadget list
- Gadget properties
- Code view
- Window properties
- Gadgets
- Window List
If I reduce the opened Windows to PureForm and Gadgets, I can not get PureForm to hang, but it will still not react like it should when you try to resize the Frame3DGadget.

[Edit3] The Problem seems to be the Frame3DGadget only.
Further it looks like, that the hanging has something to do with an recursive Resfresh.
I've created and >uploaded< a Testform for you which includes all Gadgets.
If you select one of the other Gadgets, the resfresh tooks only a few Milliseconds.
If you select the Frame3DGadget, the refresh takes about 2 Seconds. Further some Gadgets went black (>see Screenshot<).
Image
Also PureFORM displays an errormessage on loading this Form, right after it has included the Frame3DGadget.
If you try to move/resize the Frame3D during the 2 Seconds it needs for the refresh, you could easily get PureForm to hang after a few tries.

[Edit4]
gnozal wrote:I will see what I can do
Thanks a lot and sorry for finding this bug. :wink:

Posted: Mon Apr 16, 2007 3:05 pm
by gnozal
Thanks for your report !
I will see what I can do

Posted: Mon Apr 16, 2007 5:50 pm
by gnozal
About the error when opening the project :
- #HyperLink_14 parent is #ExplorerList_11 (?!)
- #Image_16 parent is #HyperLink_15 (?!)
Did you draw these controls over another (non container) control ?

Anyway, I have added a check to avoid creating gadgets with an invalid parent (like when you draw a gadget on top of another).

I still can't reproduce your problem, even on a XP/SP2 machine (and I tried hard).

I have done some few changes (build 148), does it help ?

Posted: Mon Apr 16, 2007 10:36 pm
by PureLust
gnozal wrote:About the error when opening the project :
- #HyperLink_14 parent is #ExplorerList_11 (?!)
- #Image_16 parent is #HyperLink_15 (?!)
Did you draw these controls over another (non container) control ?
No, I dont. But as you can see on the GadgetNumber, #HyperLink_14 is the Gadgets I created directly after the Frame3DGadget and (as far as I can remember) I played a bit with the Frame3DGadget before I created #Image_16.
So I think this has caused the corruption in the Data.
gnozal wrote:I have done some few changes (build 148), does it help ?
YESSSSSSSS !!!!! I don't know what you've changed, but it looks like, that it was the right thing !!! :D
Now the Refresh for the Frame3DGadget is as fast as on the other Gadgets and I was not able to get PureFORM hanging again !!! :D

Thanks a lot Philippe ... you are a real genius .... and a very fast one as well. :wink:


[Edit] Sorry for coming up straight with another hint. :oops:
I just recogniced a very little one and I don't know if anyone else has already reported it:
If you grab a Gadget on at the top or the left side to resize it, it will change the position and size of the Gadget imediately when you click - without moving the mouse. Usually the changes are just 1-2 Pixel.
If the Gadget is within a PanelGadget and you grab it on the top, it jumps up up to 15 Pixel and changes his height as well.