PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
PureFORM ComboBox
Hello Gnozal,
Why did you fix the height of the ComboBoxGadget to 100, it would be better if the user could decide by himself how heigh he wants his Com Box be?
Michel
Why did you fix the height of the ComboBoxGadget to 100, it would be better if the user could decide by himself how heigh he wants his Com Box be?
Michel
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM ComboBox
To avoid problems like no list visible because of insufficient gadget height, and I always use 100michel wrote:Why did you fix the height of the ComboBoxGadget to 100

The problem is that after you move / resize a gadget, PureFORM stores it's new dimensions, and the gadget height for a combobox is not really the gadget height, but the list height. Because of this PureFORM don't allow the user to resize a combobox vertically. But I guess I could allow the user to modify the height via the spingadgets in the gadget properties.michel wrote:it would be better if the user could decide by himself how heigh he wants his Com Box be?
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 :
- you can now set the ComboBox/ExplorerCombo height via the spingadgets in the gadget properties window
Changes :
- you can now set the ComboBox/ExplorerCombo height via the spingadgets in the gadget properties window
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:
It's already (almost) there : http://www.purebasic.fr/english/viewtopic.php?t=26187GeoTrail wrote:Feature request, auto-updatehehehe
My library updater also checks for jaPBe V3 and PureFORM. The only thing it doesn't do (yet ?) for PureFORM is installing.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
PureFORM Code infusion
Hello Gnozal,
Thank you for build 133.
Could you imagine to offer a sorted object list in the code infusion window. So all buttons, strings and so on could be better found?
Michel
Thank you for build 133.

Could you imagine to offer a sorted object list in the code infusion window. So all buttons, strings and so on could be better found?
Michel
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM Code infusion
I have so much imagination and so little time ...michel wrote:Could you imagine to offer a sorted object list in the code infusion window. So all buttons, strings and so on could be better found?

For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Hello Gnozal,
Would it be possible to add the following button in your Gadget Bar Menu
to add a ToolBar list if needed?
ToolBar
Note: There are some others that could be added too, but this is just an example.
Thank you for your nice program.
Would it be possible to add the following button in your Gadget Bar Menu
to add a ToolBar list if needed?
ToolBar
Code: Select all
hWndPanel = PanelGadget(15,1,1,300,25);this way displays panel icons without box
;PanelGadget(15,1,1,300,25);this way displays panel icons in a panel box
;Result = CreateToolBar(#ToolBar, WindowID)
hWndTB = CreateToolBar(1,WindowID(#Window_0));// win = Source of events
ToolBarStandardButton(100,#PB_ToolBarIcon_New)
ToolBarStandardButton(101,#PB_ToolBarIcon_Open)
ToolBarStandardButton(102,#PB_ToolBarIcon_Save)
ToolBarStandardButton(103,#PB_ToolBarIcon_Print)
ToolBarStandardButton(104,#PB_ToolBarIcon_Find)
ToolBarStandardButton(105,#PB_ToolBarIcon_Replace)
ToolBarStandardButton(106,#PB_ToolBarIcon_Cut)
ToolBarStandardButton(107,#PB_ToolBarIcon_Copy)
ToolBarStandardButton(108,#PB_ToolBarIcon_Paste)
ToolBarStandardButton(109,#PB_ToolBarIcon_Delete)
ToolBarStandardButton(110,#PB_ToolBarIcon_Undo)
ToolBarStandardButton(111,#PB_ToolBarIcon_Properties)
ToolBarStandardButton(112,#PB_ToolBarIcon_Help)
ToolBarToolTip(1, 100, "New document")
ToolBarToolTip(1, 101, "Open file")
ToolBarToolTip(1, 102, "Save file")
ToolBarToolTip(1, 103, "Print document")
ToolBarToolTip(1, 104, "Find")
ToolBarToolTip(1, 105, "Replace")
ToolBarToolTip(1, 106, "Cut")
ToolBarToolTip(1, 107, "Copy")
ToolBarToolTip(1, 108, "Paste")
ToolBarToolTip(1, 109, "Delete")
ToolBarToolTip(1, 110, "Undo")
ToolBarToolTip(1, 111, "Properties")
ToolBarToolTip(1, 112, "Help")
SetParent_(hWndTB,hWndPanel);//move into panel. This way displays panel icons without box
;SetParent_(1,15);this way displays panel icons in a panel box
Thank you for your nice program.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
A toolbar list ?yrreti wrote:Hello Gnozal,
Would it be possible to add the following button in your Gadget Bar Menu
to add a ToolBar list if needed?
You mean change the parent of the toolbar ? I guess you can do it already with the code infusion feature, adding this line
Code: Select all
SetParent_(PeekL(IsToolBar(#Toolbar)), GadgetID(#Panel))
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
PureForm ideas and proposals
Hello Gnozal,
You decide whenever you want to invest time in your software; the ideas which I suggested to you are to improve this wonderful editor but I do not want to stress you
michel
You decide whenever you want to invest time in your software; the ideas which I suggested to you are to improve this wonderful editor but I do not want to stress you

michel
Hello Gnozal,
[img][img]http://i2.turboimagehost.com/t/285610_toolbar_example.PNG[/img]<img
The toolbar images are just a faster way instead of using the menu's if a
person wants.
Also, I've heard this code infusion feature mentioned before.
What is this feature exactly, and how would I be able to use it?
Thank you for your help.
What I meant regarding the tool bar was something like this:A toolbar list ?
You mean change the parent of the toolbar ? I guess you can do it already with the code infusion feature, adding this line
[img][img]http://i2.turboimagehost.com/t/285610_toolbar_example.PNG[/img]<img
The toolbar images are just a faster way instead of using the menu's if a
person wants.
Also, I've heard this code infusion feature mentioned before.
What is this feature exactly, and how would I be able to use it?
Thank you for your help.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
@yrreti : there already is a toolbar builder in PureFORM (right-click on window, select 'Add Toolbar' menu item).
With the code infusion feature, you can add code to your form (F8 shortcut). Please have a look at PureFORM.chm.
With the code infusion feature, you can add code to your form (F8 shortcut). Please have a look at PureFORM.chm.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Woops!
Sorry Gnozal
I guess I was just used to using your Gadget bar menu for selecting.
And I never used the mouse right click over an unused area where
that feature does show. I always used it over a created gadget where
it doesn't show, and therefore never noticed it.
As for the code infusion, thanks for the explanation.
Thank you for both of these features. They both are some great
features, especially the code infusion part.
Sorry for the confusion.
I guess I do need to look your help file
over a lot better first.


I guess I was just used to using your Gadget bar menu for selecting.
And I never used the mouse right click over an unused area where
that feature does show. I always used it over a created gadget where
it doesn't show, and therefore never noticed it.
As for the code infusion, thanks for the explanation.
Thank you for both of these features. They both are some great
features, especially the code infusion part.


Sorry for the confusion.

over a lot better first.