Form Designer 5.10
Re: Form Designer 5.00 beta 3
Could consider adding CreateImageMenu() since you already have the image handling on-board.
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
Re: Form Designer 5.00 beta 3
Added.Warmonger wrote:Could consider adding CreateImageMenu() since you already have the image handling on-board.
Re: Form Designer 5.00 beta 3
One thing:
The "Caption is variable" Feature makes only sense to me, when i can have an
Procedure Parameter, or i have an "Shared xyz" in the Window procedure.
e.g.
or
Apart from that, this is the best GUI-Designer so far,
and I'm lucky, that we have a working Designer again
The "Caption is variable" Feature makes only sense to me, when i can have an
Procedure Parameter, or i have an "Shared xyz" in the Window procedure.
e.g.
Code: Select all
Procedure InitWindow_0()
Shared test.s
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, test.s, #PB_Window_SystemMenu)
EndProcedure
Code: Select all
Procedure InitWindow_0(test.s)
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, test.s, #PB_Window_SystemMenu)
EndProcedure
and I'm lucky, that we have a working Designer again

Re: Form Designer 5.00 beta 3
I think, the second example is better, but in this form:
Code: Select all
Procedure InitWindow_0(test.s = "")
Window_0 = OpenWindow(#PB_Any, 0, 0, 600, 400, test, #PB_Window_SystemMenu)
EndProcedure
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.

Re: Form Designer 5.00 beta 3
Fred fixed the PB bug that kept the FD from running on OSX Leopard, it's apparently working nicely now, big thanks to him! 

Re: Form Designer 5.00 beta 3
@ Polo
this is a screenshot (Panel / Frame3D / CheckBox) (Version from your Homepage ...)

If you place the CheckBox-Gadget directly on the Panel-Gadget, it works. But if you place a Frame3D-Gadget (not a Container-Gadget) on the Panel-Gadget and then try to place any Gadget inside the Frame3D-Gadget it doesn't work. These Gadgets are placed on the window and not on the Panel ...
By the way, where is the beautiful Ribbon-Gadget from Version 2?
this is a screenshot (Panel / Frame3D / CheckBox) (Version from your Homepage ...)

If you place the CheckBox-Gadget directly on the Panel-Gadget, it works. But if you place a Frame3D-Gadget (not a Container-Gadget) on the Panel-Gadget and then try to place any Gadget inside the Frame3D-Gadget it doesn't work. These Gadgets are placed on the window and not on the Panel ...
By the way, where is the beautiful Ribbon-Gadget from Version 2?

Re: Form Designer 5.00 beta 3
Fixed the drawing issue, I was sure I fixed it before, apparently not!RomanR wrote:@ Polo
this is a screenshot (Panel / Frame3D / CheckBox) (Version from your Homepage ...)

Wow, tricky one! Should be fixed for next beta, thanks a lot for reporting that!!RomanR wrote:If you place the CheckBox-Gadget directly on the Panel-Gadget, it works. But if you place a Frame3D-Gadget (not a Container-Gadget) on the Panel-Gadget and then try to place any Gadget inside the Frame3D-Gadget it doesn't work. These Gadgets are placed on the window and not on the Panel ...
It was looking nice but not that useful for this kind of app so I dropped itRomanR wrote:By the way, where is the beautiful Ribbon-Gadget from Version 2?

Re: Form Designer 5.00 beta 3
@ Polo
Found another one
For Text-Gadgets there are missing quotation marks, if you place them. But if you copy the Text-Gadget, everything is ok:
Well - I think I found the cause: "Caption is a variable" was set with "Text_0". After copying the Checkbox is cleared. There are no definitions for the variables inserted (the name "Text 0" wouldn't be correct anyhow). Maybe you could change th text "Caption" to "Variable-Name" if the Checkbox is set?
Found another one

For Text-Gadgets there are missing quotation marks, if you place them. But if you copy the Text-Gadget, everything is ok:
Code: Select all
Procedure InitWindow_2()
Window_2 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu)
Text_0 = TextGadget(#PB_Any, 20, 20, 200, 30, Text 0)
Text_0_Copy1 = TextGadget(#PB_Any, 20, 50, 200, 30, "Text 0")
EndProcedure
Last edited by RomanR on Wed Sep 26, 2012 9:15 pm, edited 1 time in total.
Re: Form Designer 5.00 beta 3
If you check (or have the box checked) "Caption is a variable", there won't be any quotation marks.RomanR wrote:@ Polo
Found another one![]()
For Text-Gadgets there are missing quotation marks, if you place them. But if you copy the Text-Gadget, everything is ok:
Code: Select all
Procedure InitWindow_2() Window_2 = OpenWindow(#PB_Any, 0, 0, 600, 400, "", #PB_Window_SystemMenu) Text_0 = TextGadget(#PB_Any, 20, 20, 200, 30, Text 0) Text_0_Copy1 = TextGadget(#PB_Any, 20, 50, 200, 30, "Text 0") EndProcedure
Re: Form Designer 5.00 beta 3
I've found another IMA:
- Open the Images-Box
- Push a key ('A' for example)
- Push the Tab key.
- Open the Images-Box
- Push a key ('A' for example)
- Push the Tab key.
(Win 7 x64)Error Message: Invalid memory access
Error Code: -1073741819
Code Address: 5046658
Target Address: 12
Sourcecode line: 1486
Sourcecode file: E:\Users\gaetandupont-panon\Documents\gdpcomputing\Purebasic\FormDesigner\include/grid.pbi
Re: Form Designer 5.00 beta 3
Tried on Win7 x64, I don't get any IMA. Are you using the latest version?
Re: Form Designer 5.00 beta 3
I'm using version 5.00 beta 3 from Sept. 24th.
It's only crashing if there is no entry in the grid control.
(Btw: is it possible to delete an entry from the images grid control?)
It's only crashing if there is no entry in the grid control.
(Btw: is it possible to delete an entry from the images grid control?)
Re: Form Designer 5.00 beta 3
Ok thanks I'll have a look.
I don't know about deleting images from the list, would it really make sense?
I don't know about deleting images from the list, would it really make sense?
Re: Form Designer 5.00 beta 3
I just saw that the images are deleted if you delete the gadget. I think that's ok.I don't know about deleting images from the list, would it really make sense?
But it will only be deleted from the images list, when you change from design view to code view.
An example to make it clear:
- create a toolbar
- add a toolbar button with an image
- delete this button
- check the images list <- image is still in list
- change to code view <- no image anymore in code view or image list
I think the images list should be updated right after the button is deleted.
Just a small one but it irritated me.
Re: Form Designer 5.00 beta 3
I might have forgotten to update the image manager after deleting the gadget ill have a look tonight!