PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
@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
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
;}
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
my live space
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
It's not a bug, it's a feature ... I had no time to create a help file yet.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
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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
I don't understand ; you mean add a pop-up menu with the menu builder ?Molchyn wrote:gnozal
How difficult to add a popup menu on selected gadget?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
thx gnozal
ToolBarToolTip doesn't work. 3 parameters required!
ToolBarToolTip doesn't work. 3 parameters required!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

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.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
...
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Should be fixed (build 59).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.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).