PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
I am a little bit confused; I use version 434 but I dont see the flag, there are only 3 flags to select.
Other point: could you give a short example about the pureforms.flags?
kind regards
Michel
I am a little bit confused; I use version 434 but I dont see the flag, there are only 3 flags to select.
Other point: could you give a short example about the pureforms.flags?
kind regards
Michel
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Flags and code generation are 'context sensitive' in PureFORM.michel wrote:I am a little bit confused; I use version 434 but I dont see the flag, there are only 3 flags to select.
The #PB_ComboBox_Image only appears if PureFORM detects a PB version >= 4.50 and 'Generate PB4 code' is checked in preferences. Check your PB x86 compiler path in preferences.
An example :michel wrote:Other point: could you give a short example about the pureforms.flags?
Code: Select all
; ------------------------------------------
; Custom gadget flags definition file sample
; ------------------------------------------
; Original name : PureFORM.Flags
; ---------------------------------------
; Available gadget classes :
; ButtonGadget = 0
; ButtonImageGadget = 1
; CalendarGadget = 2
; CheckBoxGadget = 3
; ComboBoxGadget = 4
; ContainerGadget = 5
; DateGadget = 6
; EditorGadget = 7
; ExplorerComboGadget = 8
; ExplorerListGadget = 9
; ExplorerTreeGadget = 10
; Frame3DGadget = 11
; HyperLinkGadget = 12
; IPAddressGadget = 13
; ImageGadget = 14
; ListIconGadget = 15
; ListViewGadget = 16
; MDIGadget = 17
; OptionGadget = 18
; PanelGadget = 19
; ProgressBarGadget = 20
; ScrollAreaGadget = 21
; ScrollBarGadget = 22
; SpinGadget = 23
; SplitterGadget = 24
; StringGadget = 25
; TextGadget = 26
; TrackBarGadget = 27
; TreeGadget = 28
; WebGadget = 29
; ---------------------------------------
;
[Flag_0]
Text = #ES_AUTOVSCROLL
Value = $40
Class = 25
[Flag_1]
Text = #ES_AUTOHSCROLL
Value = $80
Class = 25
[Flag_2]
Text = #PB_ComboBox_Image
Value = 0 ; not supported by PB3.94 !
Class = 4
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
Thank you, the path was finally missing
Thank you, the path was finally missing
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Update
Changes :
- added #PB_Window_NoActivate flag in code generation
Changes :
- added #PB_Window_NoActivate flag in code generation
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
If I create a listboxgadget with several columns, let's say 5, and I want to remove 1 column, how can I do that?
TIA,
Roel.
If I create a listboxgadget with several columns, let's say 5, and I want to remove 1 column, how can I do that?
TIA,
Roel.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
I assume you mean a listicongadget ?rule wrote:If I create a listboxgadget with several columns, let's say 5, and I want to remove 1 column, how can I do that?
TIA,
Roel.
Right-click on gadget, select 'Remove column'.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
With the new version of PureFORM my icons in the panelgadget are no longer shown, but the references still exist in the parameter window?!
Michel
With the new version of PureFORM my icons in the panelgadget are no longer shown, but the references still exist in the parameter window?!
Michel
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
You mean the tab icons ?michel wrote:With the new version of PureFORM my icons in the panelgadget are no longer shown, but the references still exist in the parameter window?!
Strange, I didn't change anything besides the new flag.
And it works here (build 436/WinXP) !?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
I finally found the error:
I had checked the option PureColor in the Panelegadget, this is not compatible with icions in the tab bar.
I discovered another strange behaviour:
In the ListIconGadget the color mode disappears with the command "ClearGadgetItems(#ListIcon_109)"
Do you see a reason to that?
Michel
I finally found the error:
I had checked the option PureColor in the Panelegadget, this is not compatible with icions in the tab bar.
I discovered another strange behaviour:
In the ListIconGadget the color mode disappears with the command "ClearGadgetItems(#ListIcon_109)"
Do you see a reason to that?
Michel
Re: PureFORM 1.99 (yet another FORM designer)
Yes, stupid me...gnozal wrote:I assume you mean a listicongadget ?
Right-click on gadget, select 'Remove column'.
Thanks Gnozal.
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Yes, it's a feature.michel wrote:I discovered another strange behaviour:
In the ListIconGadget the color mode disappears with the command "ClearGadgetItems(#ListIcon_109)"
Do you see a reason to that?
If PureCOLOR catches a #LVM_DELETEALLITEMS message, it calls PureCOLOR_ClearAllColorsForGadget().
No items = no colors.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
no items=no color
OK, but when I insert items after having cleared before the color does not reappear.
Michel
no items=no color
OK, but when I insert items after having cleared before the color does not reappear.
Michel
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
Yes, because PureCOLOR_ClearAllColorsForGadget() clears all color settings. You have to set the colors again.michel wrote:OK, but when I insert items after having cleared before the color does not reappear.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
Hello Gnozal,
I finally understood what you meant,
after CleargadgetItems...
I added PureCOLOR_SetGadgetColorEx...
Now everything works perfectly
Micheö
I finally understood what you meant,
after CleargadgetItems...
I added PureCOLOR_SetGadgetColorEx...
Now everything works perfectly
Micheö
Setting a parent window other than the main window?
I have a pureform project with 1/2 dozen windows.
Window#1 is defined as main.
When I open up window#2 (not a child window); it can then open up window#3 -- I want this window to have window#2 as parent, not Window#1 -- is there a way to do it pureform so I don't have to change it in the source?
Window#1 is defined as main.
When I open up window#2 (not a child window); it can then open up window#3 -- I want this window to have window#2 as parent, not Window#1 -- is there a way to do it pureform so I don't have to change it in the source?