Page 13 of 103

Posted: Wed Oct 18, 2006 8:02 am
by gnozal
Update

Changes :

- fixed selection rectangle problem mentioned in the post above.

Posted: Wed Oct 18, 2006 11:38 pm
by nicolaus
@gnozal

With the Splittergadget you have one more prob.
First a samplecode from PureFORM for testing

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¶211¶-17¶786¶702¶0¶10¶10¶0¶5000¶5000¶0¶-1¶1¶0¸Datei·1¸Open
;TreeGadget¶1¶#tr_formes¶1¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶-1¶3¶¶¶0¶0¶0¶0¶0¶0¶0¶0¶0¶1¶1¶1¶1¶1¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;TreeGadget¶2¶#tr_objects¶1¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶3¶3¶¶¶0¶0¶0¶0¶0¶0¶0¶0¶0¶1¶1¶1¶1¶1¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶3¶#splt_left¶1¶-1¶28¶0¶0¶24¶332¶2¶#PB_Splitter_Separator¶Gadget_2¶¶2¶0¶#tr_formes¶#tr_objects¶1¶2¶0¶0¶0¶0¶0¶200¶664¶1¶1¶1¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;PanelGadget¶4¶#pan_editor¶1¶-1¶-1¶0¶0¶19¶0¶0¶¶¶¶-1¶0¶¶¶0¶0¶1¶1¶2¶200¶0¶580¶660¶1¶0¶0¶1¶1¶0¶0¶-1¶-1¶-1¶-1¶Tab #1¶0¶¶0¶0
;PureFORM_Project_End
;}
So, now if you have load this in your PureFORM, go with right mousbutton click in the window to the menu and than go to add gadget and click the Splittergadget. You see a errormessage but this is fals!!!
We have 2 gadgets wat have the sam window as parent, the splitter at the left side and the panelgadget at the right side.
I want now a a splitter for the left splitter and the right panelgadget but no way to do that.

Hope you know wat i mean and can show to fix this.

regards,
nico

Posted: Thu Oct 19, 2006 4:00 am
by Molchyn
gnozal
How difficult to add a popup menu on selected gadget?

Posted: Thu Oct 19, 2006 8:17 am
by gnozal
nicolaus wrote:@gnozal

With the Splittergadget you have one more prob.
First a samplecode from PureFORM for testing
So, now if you have load this in your PureFORM, go with right mousbutton click in the window to the menu and than go to add gadget and click the Splittergadget. You see a errormessage but this is fals!!!
We have 2 gadgets wat have the sam window as parent, the splitter at the left side and the panelgadget at the right side.
I want now a a splitter for the left splitter and the right panelgadget but no way to do that.

Hope you know wat i mean and can show to fix this.

regards,
nico
It's not a bug, it's a feature ... I had no time to create a help file yet.
Let me explain : right-click menu 'Add gadget' and click on gadgetbar are not always equivalent.
- if you use the right-click menu to add a splitter, PureFORM assumes the parentgadget for the splitter is the gadget on wich you clicked (if this gadget is a container (ContainerGadget, PanelGadget, ...)), and if there are <2 child gadgets you get the error message.
- if you use the gadgetbar, PureFORM assumes that the current selected gadget is the parentgadget for the splitter _if_ it is a container _and_ it has child gadgets, _else_ the splitter parentgadget is the parentwindow or parentgadget of the selected gadget. Remember that you can select no gadget using 'ESC' ; in this case the splitter is created directly on the window.
In this case, just use the gadgetbar.

Posted: Thu Oct 19, 2006 8:18 am
by gnozal
Molchyn wrote:gnozal
How difficult to add a popup menu on selected gadget?
I don't understand ; you mean add a pop-up menu with the menu builder ?

Posted: Thu Oct 19, 2006 7:10 pm
by Molchyn
gnozal
I don't understand ; you mean add a pop-up menu with the menu builder ?
Yep
I think adding in menu builder CreatePopupMenu() for selected gadget - helpfull thing. :roll:

Posted: Thu Oct 19, 2006 11:02 pm
by nicolaus
@gnozal

How i can add a toolbar to my project?

Posted: Fri Oct 20, 2006 8:08 am
by gnozal
Pop-up menu and toolbar are not available yet.

I need some time to improve PureFORM.

Posted: Tue Oct 24, 2006 10:13 am
by gnozal
Update

Changes :
- added Toolbar editor (works like Menu editor)

Posted: Tue Oct 24, 2006 10:21 am
by nicolaus
thx gnozal, i want test it :wink:

Posted: Tue Oct 24, 2006 8:07 pm
by ts-soft
thx gnozal

ToolBarToolTip doesn't work. 3 parameters required!

Posted: Wed Oct 25, 2006 7:54 am
by gnozal
Update

Changes :
- fixed ToolBarToolTip() in code generated for PB4 (3 parameters for PB4, 2 for PB3.94)

Posted: Wed Oct 25, 2006 8:07 am
by JCV
thx gnozal. :D

Posted: Wed Oct 25, 2006 10:09 am
by dlolo
First, thx Gnozal for this great work!
Posted: Tue Oct 03, 2006 7:24 am Post subject:

--------------------------------------------------------------------------------

Update

...

- fixed : cosmetic bug ; the mouse cursor shape now changes correctly if a window is resizable

...
Yes it works for preview windows but all mouse cursor of project windows (Gadget list, window list ...) still not changing.

Posted: Wed Oct 25, 2006 12:33 pm
by gnozal
dlolo wrote:First, thx Gnozal for this great work!
[...]
Yes it works for preview windows but all mouse cursor of project windows (Gadget list, window list ...) still not changing.
Should be fixed (build 59).