Page 30 of 103

Posted: Tue Apr 17, 2007 7:44 am
by gnozal
PureLust wrote:YESSSSSSSS !!!!! I don't know what you've changed, but it looks like, that it was the right thing !!! :D
Good !
PureLust wrote: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.
It's a known little problem, I couldn't find a satisfying fix yet.

Posted: Tue Apr 17, 2007 12:50 pm
by PureLust
gnozal wrote:It's a known little problem, I couldn't find a satisfying fix yet.
As I wrote before, I also think it's just a little one.

Again I (and maybe a lot of other guys as well) just can thank you for your great work and all the good and helpfull libs and progs you've released and (not to be forgotten) the great support !!!

Thanks a lot, PL.

Posted: Tue Apr 17, 2007 5:40 pm
by Molchyn
gnozal
when I convert from source, PF translate string

Code: Select all

ExplorerTreeGadget(#ExplorerTree_6, 0, 5, 205, 470, "c:\")
like
ExplorerTreeGadget(#ExplorerTree_6, 0, 5, 205, 470, ""c:\"")
and also don't translate no one PURERESIZE and PURECOLOR command

Posted: Wed Apr 18, 2007 3:12 am
by PureLust
gnozal wrote:You can already disable a gadget, so you can't move/resize it accidently.
Do you mean the "Disable" Button in the Special-Secrtion?
If yes, than this is not right, because you can still move and resize it in any way (by mouse and by keyboard). The Gadget will get enabled as soon as you click on it again.

Further I have two Question (I have not found someone else asking for this so far):
- Is it somehow possible to change the order of the Gadgets in the Gadget List Window - so you can set the sequence of the Gadgets they will appear later in the Code?
- If you've designed a PanelGadget with a lot of Gadgets in it and you would like to insert another Panel (in between two other Panels - not just appending at the end) - what whould you say will be the best way to do so - or is it just impossible at the moment?

Posted: Wed Apr 18, 2007 8:11 am
by gnozal
PureLust wrote:Set the sequence of the Gadgets they will appear later in the Code?
You can change the 'Tab order' (or gadget creation order) using the context menu item 'Tab order'.
PureLust wrote:If you've designed a PanelGadget with a lot of Gadgets in it and you would like to insert another Panel (in between two other Panels - not just appending at the end) - what whould you say will be the best way to do so - or is it just impossible at the moment?
Insert a new tab is not possible for the moment.
PureLust wrote:Do you mean the "Disable" Button in the Special-Secrtion?
If yes, than this is not right, because you can still move and resize it in any way (by mouse and by keyboard).
Yes, I could change this, i.e. disabling move/resize by keyboard or gadget properties dialog.

Posted: Wed Apr 18, 2007 8:18 am
by gnozal
Molchyn wrote:when I convert from source, PF translate string

Code: Select all

ExplorerTreeGadget(#ExplorerTree_6, 0, 5, 205, 470, "c:")
like ExplorerTreeGadget(#ExplorerTree_6, 0, 5, 205, 470, ""c:"")
It's a bug. I will fix it.
Molchyn wrote:and also don't translate no one PURERESIZE and PURECOLOR command
The translate feature is incomplete, some code like colors or menus for example are not translated (yet ?).

Posted: Wed Apr 18, 2007 11:45 am
by gnozal
Update

Some bugs fixed.

Posted: Thu Apr 19, 2007 6:39 am
by Molchyn
gnozal
when I create project with several windows and save as code it's initialaze only first window

Code: Select all

;:PureFORM:Gadgets:End:
OpenWindow_Window_0()
;:PureFORM:Main:Start:

Posted: Thu Apr 19, 2007 7:27 am
by gnozal
Molchyn wrote:gnozal
when I create project with several windows and save as code it's initialaze only first window

Code: Select all

;:PureFORM:Gadgets:End:
OpenWindow_Window_0()
;:PureFORM:Main:Start:
Yes, it's by design. The generated code is not exactly the same in the code viewer and in the saved source.
1. In CodeViewer, it will open ALL windows (for test purposes)
2. In the saved code, it will open THE FIRST window only (assumed to be the main window).

Posted: Thu Apr 19, 2007 7:54 am
by gnozal
Update

Changes :
- added : 'Cut gadget' [CTRL+X]
- added : 'Insert Tab' (insert a new tab before the current PanelGadget tab)

Posted: Thu Apr 19, 2007 6:41 pm
by PureLust
gnozal wrote:Changes :
- added : 'Cut gadget' [CTRL+X]
- added : 'Insert Tab' (insert a new tab before the current PanelGadget tab)
That's great ... thanks a lot !!! :D

I have another question: Is it possible, not to move the Gadget when you paste it (it will have 5 pixel offset at the moment)? Maybe by pressing "Shift" while pasting a gadget?
This will make it easier to move Gadgets from one Panel to exactly the same position (e.g.) into another Panel.
Or is there already an Option to set the shifting offset which I have overlook?

Please don't slam me through the wall for comming up with 2 small (low priority?) issues again: :D

- Create 2 Gadgets (e.g. Button- or ContainerGadgets) and put them into a SplitterGadget. Then create another (Button)Gadget and put this Button and the first SplitterGadget into another SplitterGadget (so you get a big flexible Area with 2 Separators).
If you now delete the last SplitterGadget (thats the only one you can delete), it will delete all included Gadgets (which looks ok so far).
But there was no recursive deletion of the first 2 Gadgets which are where inside the first SplitterGadget which was inside the 2nd SplitterGadget.
If you save the Project now, it will save the first 2 Gadgets as well.
If you reload the Project now, the 2 Gadgets will appear again, but because the parent SplitterGadget is now missing, you cannot grab, move or delete them.
If a User don't know how to edit the *.pbf-File himselfe, he has no chance to get rid of these Gadgets any more.

- Disableing and locking a Gadget works great now !!! Thanks a lot.
But sometimes (I think very unusual) it will enable again:
If you create two (e.g. Button)Gadgets, overlap them a bit (which will be very rare and unusual), disable the 2nd Gadget and click into the overlapping Part => the 2nd Gadget will enable again.
It looks like, that your MouseOverGadget-Routine does not yet consider if a Gadget is disabled.
I know, overlapping gadgets shouldn't be used and I think this is more or less just a small "cosmetic" Bug, so this note is just to inform you about it. ;)

PS: I'm actually writing a tool, which could load PureFORM *.pbf files and where you can move Gadgets or whole Container into other Container, Panels, Windows and where you can move Gadgets up and down within the same Level.
Because it's working with saved *.pbf File instead of interacting 'online' with PureFORM, it's not as userfriendly and intuitive as I'd like.
I know, it will be a bit of work to implement these functions into PureForm. But if you are interested to implement these functions into PureFORM, it whould be a honor for me to give you some assistence.

Posted: Fri Apr 20, 2007 9:15 am
by gnozal
PureLust wrote:Or is there already an Option to set the shifting offset which I have overlook?
Added 'Paste with offset' menu item in main menu (just uncheck if you don't want it)
PureLust wrote:Splitter delete issue
Should be fixed
PureLust wrote:Disabled gadget and overlapping gadgets issue
Should be fixed
PureLust wrote:where you can move Gadgets or whole Container into other Container, Panels, Windows
Moving gadgets from one parent to another is on the todo list ... But not high priority as you can use the group copy feature (and adjust the gadget coordinates with the gadget groups dialog if needed)
PureLust wrote:and where you can move Gadgets up and down within the same Level.
This I don't understand (Tab order ?)

Posted: Fri Apr 20, 2007 3:09 pm
by PureLust
Thanks again for all the quick fixes !!! :)
gnozal wrote:This I don't understand (Tab order ?)
Yes, I mean the "Tab order" .... but as you know, this is already included in PF.
gnozal wrote:Moving gadgets from one parent to another is on the todo list ... But not high priority as you can use the group copy feature (and adjust the gadget coordinates with the gadget groups dialog if needed)
Yes, thats a great funktion. I had a closer look at it and find out, that it nearly copies all properties as well - other that I thought before.
Because during the copyprocess it overwrites the Gadgettext, so it doesn't look like a real copy at the first view - but the Gadgettext seems to be the only thing which will not be copied exactly.
So except from the GadgetText and the easier usability (just one drag in the GadgetList to move) there is no more benefit using my tool. :( . . . . . that's great. :wink:

Maybe you can add a "Move Gadget group" which just pastes the GadgetGroup (with exact GadgetText) and afterwards deletes the originals?

Posted: Fri Apr 20, 2007 3:18 pm
by gnozal
PureLust wrote:Yes, thats a great funktion. I had a closer look at it and find out, that it nearly copies all properties as well - other that I thought before.
Because during the copyprocess it overwrites the Gadgettext, so it doesn't look like a real copy at the first view - but the Gadgettext seems to be the only thing which will not be copied exactly.
Yes.
The copy action duplicates all gadget properties except the enumeration (must be unique) and the text : it's a new gadget (= new enumeration / text) with all the other original gadget properties.
PureLust wrote:Maybe you can add a "Move Gadget group" which just pastes the GadgetGroup (with exact GadgetText) and afterwards deletes the originals?
Maybe ...

Posted: Sat Apr 21, 2007 8:21 am
by gnozal
Update

Changes :
- added 'Paste with offset' menu item in main menu (setup)
- added 'Move Gadget group' feature