PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
To add a column to a listicon gadget, use the (right-click on listicon) context menu item "Add column".Bisonte wrote:I can't add a coloumn to a ListIcon Gadget...
I click on "Update" at the Gadget propertie Window... but nothing happens...
The "Items" tab with the "Update" button is meant to rename existing columns, not to create them.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
as I use PureFORM since now exactly 2 days I have some whishes: 
1.) For Vista it would be nice to have a field for SETCUEBANNER like in this thread: http://www.purebasic.fr/english/viewtopic.php?t=33970
2.) It would be also nice to have some flags for the EditorGadget. (WordWrap and so on)
And one small bug I found:
I have a Project containing two windows. The first one can be resized, the second one not. If I now open the project and click on Windows-List second Window (which can not be resized) it appears with wrong dimensions. Also I can not resize it to its right dimensions as long as the ResizeFlag on this window isn't set. In "Build mode" this flag should be ignored.
Another small issue: Sometimes the new gadget identifier constant-name in enum field is not saved. This is only saved by a lost focus evend inside the gadget properties window. If the Enum field has focus and I click inside the project window, the new constant/variable name is not saved. Maybe its better so save it on Change-Event?

1.) For Vista it would be nice to have a field for SETCUEBANNER like in this thread: http://www.purebasic.fr/english/viewtopic.php?t=33970
2.) It would be also nice to have some flags for the EditorGadget. (WordWrap and so on)
And one small bug I found:
I have a Project containing two windows. The first one can be resized, the second one not. If I now open the project and click on Windows-List second Window (which can not be resized) it appears with wrong dimensions. Also I can not resize it to its right dimensions as long as the ResizeFlag on this window isn't set. In "Build mode" this flag should be ignored.
Another small issue: Sometimes the new gadget identifier constant-name in enum field is not saved. This is only saved by a lost focus evend inside the gadget properties window. If the Enum field has focus and I click inside the project window, the new constant/variable name is not saved. Maybe its better so save it on Change-Event?
Tranquil
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
These are messages, not flags, so they cannot be added easily like #ES_CENTER for example wich is a 'real' flag / style.Tranquil wrote:For Vista it would be nice to have a field for #SETCUEBANNER
It would be also nice to have some flags for the EditorGadget. (WordWrap and so on)
For these two wishes, you could already use :
1. Code Infusion (Location = Window event ; Object = gadget parent window ; Event = Window creation) to add some extra gadget messages.
or
2. Create a custom gadget, with 'Create code' field = "EditorGadget(%id%, %x%, %y%, %w%, %h%, %[flags]%) : SendMessage_(GadgetID(%id%), #MSG, wParam, lParam) : etc ..."
I will see if I can add some feature ...
I am not sure what you mean.Tranquil wrote:I have a Project containing two windows. The first one can be resized, the second one not. If I now open the project and click on Windows-List second Window (which can not be resized) it appears with wrong dimensions.
I build this project :
Code: Select all
;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶PureFORM_Clipboard2
;Window¶1¶#Window_0¶349044736¶#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_SizeGadget¶Window_0¶452¶67¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;Window¶2¶#Window_1¶348782592¶#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶Window_1¶424¶55¶745¶637¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;PureFORM_Project_End
;}
It's by design.Tranquil wrote:Also I can not resize it to its right dimensions as long as the ResizeFlag on this window isn't set.
The problem is, if you add/remove the #WS_SIZEBOX flag with SetWindowLong_() the window size changes.Tranquil wrote:In "Build mode" this flag should be ignored.
Like it is said in the manual, you have to validate the enum with [Enter] or the [v] button, because in some situations PureFORM doesn't catch the lost focus event (and there is so much event stuff in PureFORM...). I can't use the change event (I did, and removed it after users requests), because some tests (validation) are made before saving the enum (like ensure it is unique for example).Tranquil wrote:Sometimes the new gadget identifier constant-name in enum field is not saved. This is only saved by a lost focus evend inside the gadget properties window. If the Enum field has focus and I click inside the project window, the new constant/variable name is not saved. Maybe its better so save it on Change-Event?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
@Gnozal: Using "Tab order" to sort the gadget order is a little bit slow on bigger projects. It looks like that PureFORM updates a lot in the background after every click on 'Up' or 'Down'...
Would it be possible to update the tab order listview only? And all the other updates after the 'close' click?
Would it be possible to update the tab order listview only? And all the other updates after the 'close' click?
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Hi dige,dige wrote:@Gnozal: Using "Tab order" to sort the gadget order is a little bit slow on bigger projects. It looks like that PureFORM updates a lot in the background after every click on 'Up' or 'Down'...
I have uploaded a new build. PureFORM should update less things in the background while using the tab-order dialog.
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:
That's strange, can't reproduce this (tested on NT4sp6 and XPsp2).hjf wrote:with the new build 354 it gives a new problem. If the Taborder-Dialog is activ and the cursor is on the dialog, the CPU-Load ist permanent 100% (or 50% on dual cores).
(Screenshot while mouse cursor is on the dialog.)
Maybe I can reproduce the issue with your form ?
Confirmed : the selected item in the dialog is not highlighted in the form anymore. Will be fixed in the next build.hjf wrote:In addition the clicked items does not correct highlight in the dialog.
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
Changes :
- fixed : the selected item in the tab order dialog wasn't highlighted in the form anymore
Changes :
- fixed : the selected item in the tab order dialog wasn't highlighted in the form anymore
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).