PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
-
- Addict
- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
Crashes if completecode with image in imagegadget---------------------------
[ERROR]
---------------------------
PureFORM has crashed [Error = C0000005]
The current project may be saved as
Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
---------------------------
OK
---------------------------
Only if Include Image as Hexdata is enabled
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.
Upon starting I noticed a small usability flaw: You give the user an error from the OS. No error at all was actually necessary.
When I check the size gadget checkbox for the window the border gets "sizable", but the window can't be resized. I was also able to make the window look non-sizable with the size gadget checkbox checked by double-clicking it.
The title bar checkbox is initially unchecked, but the window does initially have a title bar.
The borderless flag does not work.
It's a bit illogical that you can select background colour when PureCOLOR is disabled. Since PB 4 has native support for this I would supposed it would still work since it was enabled.
Simply clicking in the Enum text field in Gadget properties makes a box with incorrect value pop up. Since I didn't type an incorrect value, don't punish me for it.
You can't select no gadgets.
It's impossible to use PureCOLOR for gadgets. The same applies to font selection.
When you are asked for confirmation to delete a gadget, the glyph in the message box should be a question mark and not a warning sign, since it is a question. Also the text in that box says "Gagdet".
When you try to move a calendar gadget the click event goes to the calendar. The same for a combobox, it drops down and up when moved. And date gadget arrow.
Create a container gadget. Create a gadget inside it. Grab the child gadget by the centre and move it as far into the top-left corner as possible. It will now be impossible to move it back, grabbing it will move the container gadget.
The file combobo, file tree and explorerlist sticks to the mouse when you try to move it. And scrollbar.
Remove menu doesn't work when the menu is edited.
Sometimes the resizing arrow doesn't appear.
Sometimes "resizing" a gadget moves it.
When I check the size gadget checkbox for the window the border gets "sizable", but the window can't be resized. I was also able to make the window look non-sizable with the size gadget checkbox checked by double-clicking it.
The title bar checkbox is initially unchecked, but the window does initially have a title bar.
The borderless flag does not work.
It's a bit illogical that you can select background colour when PureCOLOR is disabled. Since PB 4 has native support for this I would supposed it would still work since it was enabled.
Simply clicking in the Enum text field in Gadget properties makes a box with incorrect value pop up. Since I didn't type an incorrect value, don't punish me for it.
You can't select no gadgets.
It's impossible to use PureCOLOR for gadgets. The same applies to font selection.
When you are asked for confirmation to delete a gadget, the glyph in the message box should be a question mark and not a warning sign, since it is a question. Also the text in that box says "Gagdet".
When you try to move a calendar gadget the click event goes to the calendar. The same for a combobox, it drops down and up when moved. And date gadget arrow.
Create a container gadget. Create a gadget inside it. Grab the child gadget by the centre and move it as far into the top-left corner as possible. It will now be impossible to move it back, grabbing it will move the container gadget.
The file combobo, file tree and explorerlist sticks to the mouse when you try to move it. And scrollbar.
Remove menu doesn't work when the menu is edited.
Sometimes the resizing arrow doesn't appear.
Sometimes "resizing" a gadget moves it.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Yes !Kiffi wrote:hello gnozal,
here is a small bug while importing an existent project ('Translate from source'):
I think, you can't parse the #PB_Ignore - Constant, right?PureFORM wrote:Code import error!
Line 68: If OpenWindow(#frmMain, #PB_Ignore, #PB_Ignore, 300, 300, "test", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)
Window coordinate not an integer
Greetings ... Kiffi
The coordinates must be integers, not constants (#PB_Ignore or else) nor variables.
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:
Works here.ts-soft wrote:Crashes if completecode with image in imagegadget---------------------------
[ERROR]
---------------------------
PureFORM has crashed [Error = C0000005]
The current project may be saved as
Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
---------------------------
OK
---------------------------
Only if Include Image as Hexdata is enabled
Could you post the project (Edit\Copy project to clipboard), and maybe a link to the image ?
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:
Thanks for your remarks Trond.
When I check the 'Size gadget', I can resize the window (but yes, the mouse cursor doesn't change).
Remark : a selected gadget has a blue frame ; a captured gadget (for resize/ move) a red frame. You can set the delay between selection and capture in the preferences.
Fixed : means fixed for the next release
FixedTrond wrote:Upon starting I noticed a small usability flaw: You give the user an error from the OS. No error at all was actually necessary.
About the flag check boxes (applies to window and gadget) : I do not check if checked flags are mutually exclusive or compatible, I trust the user.Trond wrote:When I check the size gadget checkbox for the window the border gets "sizable", but the window can't be resized. I was also able to make the window look non-sizable with the size gadget checkbox checked by double-clicking it.
When I check the 'Size gadget', I can resize the window (but yes, the mouse cursor doesn't change).
FixedTrond wrote:The title bar checkbox is initially unchecked, but the window does initially have a title bar.
No preview for this flag, yes.Trond wrote:The borderless flag does not work.
PureFORM uses PureCOLOR to show the color preview (it does not need to be enabled). If it is enabled, the gadget is colored and the generated code uses PureCOLOR functions.Trond wrote:It's a bit illogical that you can select background colour when PureCOLOR is disabled. Since PB 4 has native support for this I would supposed it would still work since it was enabled.
FixedTrond wrote:Simply clicking in the Enum text field in Gadget properties makes a box with incorrect value pop up. Since I didn't type an incorrect value, don't punish me for it.
Works here ?!Trond wrote:You can't select no gadgets.
Works here ?!Trond wrote:It's impossible to use PureCOLOR for gadgets. The same applies to font selection.
FixedTrond wrote:When you are asked for confirmation to delete a gadget, the glyph in the message box should be a question mark and not a warning sign, since it is a question. Also the text in that box says "Gagdet".
About selection : you have to click and wait until the frame becomes red. Then you can move / resize.Trond wrote:When you try to move a calendar gadget the click event goes to the calendar. The same for a combobox, it drops down and up when moved. And date gadget arrow.
Why would you do that ? You can still move the gadget via the spingadgets in 'Gadget properties'.Trond wrote:Create a container gadget. Create a gadget inside it. Grab the child gadget by the centre and move it as far into the top-left corner as possible. It will now be impossible to move it back, grabbing it will move the container gadget.
Yes : see my first post. "Known problems : drag/resize : some gadgets need a right-click or escape to cancel drag/resize mode". You can still move / resize them but you need to right/click or escape to end.Trond wrote:The file combobo, file tree and explorerlist sticks to the mouse when you try to move it. And scrollbar.
Yes, by design. The menu editing window is 'modal'Trond wrote:Remove menu doesn't work when the menu is edited.
Sorry. The cursor changes are not perfect.Trond wrote:Sometimes the resizing arrow doesn't appear.
I would like an example if you can provide it. It moves or resizes according to the cursor shape.Trond wrote:Sometimes "resizing" a gadget moves it.
Remark : a selected gadget has a blue frame ; a captured gadget (for resize/ move) a red frame. You can set the delay between selection and capture in the preferences.
Fixed : means fixed for the next release
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:
You are very kindBerikco wrote:Hey, very nice
Just for fun (complete history in post #12).Berikco wrote:But why start another Visual Designer?
I fear I am not good enough.Berikco wrote: Maybe you can help me with the official VD4 ?
Aren't they ?Berikco wrote:Edit: nice icons
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
but he's french and not enough 'italien' to understandBerikco wrote:Now, don't be so shy, everybody here knows you are an expert PB coder!gnozal wrote:I fear I am not good enough.Berikco wrote: Maybe you can help me with the official VD4 ?
your spagetthi-code
muaah, Rings's dumb jokes again......
SPAMINATOR NR.1
Are you sure? Make exactly one button and try to deselect it.gnozal wrote:Works here ?!Trond wrote:You can't select no gadgets.
I just saw that those checkboxes are read-only (but not disabled) when they are not checked (even though I have selected a color). They really shouldn't be like that. Changing the font does not make any difference in the designer.gnozal wrote:Works here ?!Trond wrote:It's impossible to use PureCOLOR for gadgets. The same applies to font selection.
I can't reproduce it again.gnozal wrote:I would like an example if you can provide it. It moves or resizes according to the cursor shape.Trond wrote:Sometimes "resizing" a gadget moves it.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Hit Escape (or go to Preview mode) Sorry, no help file, I apologize.Trond wrote:Are you sure? Make exactly one button and try to deselect it.gnozal wrote:Works here ?!Trond wrote:You can't select no gadgets.
If you choose a font you have to check 'Enable' to apply the new font in the designer. Works here. You can't check 'Enable' if you haven't chosen some font first with the '...' button.Trond wrote:I just saw that those checkboxes are read-only (but not disabled) when they are not checked (even though I have selected a color). They really shouldn't be like that. Changing the font does not make any difference in the designer.gnozal wrote:Works here ?!Trond wrote:It's impossible to use PureCOLOR for gadgets. The same applies to font selection.
OkTrond wrote:I can't reproduce it again.gnozal wrote:I would like an example if you can provide it. It moves or resizes according to the cursor shape.Trond wrote:Sometimes "resizing" a gadget moves it.
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:
Look at my avatar, no expert hereBerikco wrote:Now, don't be so shy, everybody here knows you are an expert PB coder!gnozal wrote:I fear I am not good enough.Berikco wrote: Maybe you can help me with the official VD4 ?
I meant I am not a professional coder, it's just a hobby. When a code works I don't look further to optimize it as long as it runs fine on my old PII-300MHz. But I must admit I am addicted to PB.
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:
Update
- some fixes
- you can now move/resize the selected gadget with the arrow keys (+ CTRL to resize), if the parent window has focus.
- add 'Set properties' to gadget context menu : selects the gadget in the 'Gadget properties' window (and opens it if closed).
- some fixes
- you can now move/resize the selected gadget with the arrow keys (+ CTRL to resize), if the parent window has focus.
- add 'Set properties' to gadget context menu : selects the gadget in the 'Gadget properties' window (and opens it if closed).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
It works now but I swear it didn't work when I posted that. I tried a lot of fonts and checked the checkbox on off a lot as well.gnozal wrote:If you choose a font you have to check 'Enable' to apply the new font in the designer. Works here. You can't check 'Enable' if you haven't chosen some font first with the '...' button.Trond wrote:I just saw that those checkboxes are read-only (but not disabled) when they are not checked (even though I have selected a color). They really shouldn't be like that. Changing the font does not make any difference in the designer.gnozal wrote:Works here ?!Trond wrote:It's impossible to use PureCOLOR for gadgets. The same applies to font selection.