Page 15 of 103
Posted: Thu Nov 02, 2006 10:17 pm
by Molchyn
gnozal
one more thing
After creating Spingadget and frame3dgadget, then you start move frame3d it's "glued" to spingadget (if you create frame3d inside spingadget).
Code: Select all
;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶spingadget
;Window¶1¶#Window_0¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶#Window_0¶447¶134¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶
;SpinGadget¶14¶#SpinGadget_13¶1¶-1¶-1¶0¶0¶23¶0¶0¶¶Gadget_13¶¶-1¶0¶0¶100¶0¶100¶0¶0¶0¶85¶150¶255¶215¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;Frame3DGadget¶15¶#Frame3DGadget_14¶1¶14¶23¶0¶0¶11¶0¶0¶¶Gadget_14¶¶-1¶0¶¶¶0¶0¶0¶0¶0¶100¶5¶180¶55¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
same effect if you add inside:
progressbar -> editor gadget
hyperlink -> editor gadget
text gadget -> editor gadget
text gadget -> webgadget
etc..
Then you create them, they jump out, but then you start to move them, they "glued" to gadget inside witch they was created.
:roll:
Posted: Fri Nov 03, 2006 4:40 pm
by gnozal
Molchyn wrote:gnozal
one more thing
After creating Spingadget and frame3dgadget, then you start move frame3d it's "glued" to spingadget (if you create frame3d inside spingadget)....
Hum, creating a Frame3D
inside a spingadget doesn't make sense to me, neither a progressbar in an editor gadget
It only makes sense to me to create gadgets
inside container gadgets like Panel/Container/ScrollAreaGadgets.
But you are right, I did not test those invalid attempts to create a gadget.
I have modified
(download updated) PureFORM so that you can't create gadgets with an invalid parent gadget.
Posted: Wed Nov 08, 2006 1:12 pm
by Yogi Yang
PureForm is really superb!
gnozal, when are you integrating it with jaPBe as plugin?
Thanks for creating such a grand product and keeping it free.

Posted: Wed Nov 08, 2006 1:21 pm
by gnozal
Yogi Yang wrote:PureForm is really superb!
gnozal, when are you integrating it with jaPBe as plugin?
Thanks for creating such a grand product and keeping it free.

Thanks.
jaPBe plugin functions are on the todo list...
Posted: Thu Nov 09, 2006 4:28 am
by Molchyn
gnozal
Then I try to customize in Gadget properties Enumeration, by my own and copy text from anover Gadget Enum,
it's don't give put a copy of previous Enum for small changing like
#SG_blablaX on
#SG_blablaY.
May be better if you check Enum name after loseafocus or enter?
And some bug with splittergadget and panelgadget,
If you first create on form panelgadget , after that add other gadget and
add splitter between them - it's create wrong code:
Code: Select all
;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶PureFORM_Clipboard2
;Window¶1¶#Window_0¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶#Window_0¶668¶467¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶
;PanelGadget¶1¶#PanelGadget_0¶1¶-1¶-1¶0¶0¶19¶0¶0¶¶¶¶-1¶3¶¶¶0¶0¶1¶1¶2¶5¶10¶200¶380¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Tab #1¶0¶¶0¶0
;EditorGadget¶2¶#EditorGadget_1¶1¶-1¶-1¶0¶0¶7¶0¶0¶¶Gadget_1¶¶3¶3¶¶¶0¶0¶0¶0¶0¶205¶5¶185¶380¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶3¶#SplitterGadget_2¶1¶-1¶-1¶0¶0¶24¶197¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_2¶¶2¶0¶#PanelGadget_0¶#EditorGadget_1¶1¶2¶0¶0¶0¶0¶0¶395¶395¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;Window¶2¶#Window_1¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶#Window_1¶253¶471¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶
;PanelGadget¶4¶#PanelGadget_3¶2¶-1¶-1¶0¶0¶19¶0¶0¶¶¶¶-1¶6¶¶¶0¶0¶1¶1¶2¶0¶5¶185¶370¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Tab #1¶0¶¶0¶0
;TreeGadget¶5¶#TreeGadget_4¶2¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶6¶6¶¶¶0¶0¶0¶0¶0¶205¶5¶170¶375¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶6¶#SplitterGadget_5¶2¶-1¶-1¶0¶0¶24¶199¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_5¶¶5¶0¶#PanelGadget_3¶#TreeGadget_4¶4¶5¶0¶0¶0¶0¶0¶395¶390¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;Window¶3¶#Window_2¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶#Window_2¶253¶467¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶
;EditorGadget¶7¶#EditorGadget_6¶3¶-1¶-1¶0¶0¶7¶0¶0¶¶Gadget_6¶¶-1¶9¶¶¶0¶0¶0¶0¶0¶10¶15¶185¶365¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;TreeGadget¶8¶#TreeGadget_7¶3¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶9¶9¶¶¶0¶0¶0¶0¶0¶215¶10¶165¶365¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶9¶#SplitterGadget_8¶3¶-1¶-1¶0¶0¶24¶196¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_8¶¶8¶0¶#EditorGadget_6¶#TreeGadget_7¶7¶8¶0¶0¶0¶0¶0¶390¶390¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;Window¶4¶#Window_3¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶#Window_3¶253¶467¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶
;TreeGadget¶10¶#TreeGadget_9¶4¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶-1¶12¶¶¶0¶0¶0¶0¶0¶15¶10¶180¶370¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PanelGadget¶11¶#PanelGadget_10¶4¶-1¶-1¶0¶0¶19¶0¶0¶¶¶¶12¶12¶¶¶0¶0¶1¶1¶2¶215¶10¶170¶360¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Tab #1¶0¶¶0¶0
;SplitterGadget¶12¶#SplitterGadget_11¶4¶-1¶-1¶0¶0¶24¶197¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_11¶¶11¶0¶#TreeGadget_9¶#PanelGadget_10¶10¶11¶0¶0¶0¶0¶0¶390¶395¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;PureFORM_Project_End
;}
if you add first other gadget and after that panelgadget work fine.
difference - need to swap
CloseGadgetList() and
SplitterGadget
Posted: Thu Nov 09, 2006 9:29 am
by GeoTrail
Very nice program. Great work gnozal

Posted: Thu Nov 09, 2006 11:19 am
by gnozal
Molchyn wrote:gnozal
And some bug with splittergadget and panelgadget,
If you first create on form panelgadget , after that add other gadget and
add splitter between them - it's create wrong code
Should be fixed.
Download updated
Posted: Thu Nov 09, 2006 11:27 am
by GeoTrail
Just a quick question, maybe I missed this...
After I have generated the code, and I have added some of my own code, do I have to write it again if I need to edit the source with the designer?
Posted: Thu Nov 09, 2006 12:10 pm
by gnozal
GeoTrail wrote:Just a quick question, maybe I missed this...
After I have generated the code, and I have added some of my own code, do I have to write it again if I need to edit the source with the designer?
I don't understand exactly what you mean.
- PureFORM does not update your code (yet?). You have to paste the generated code manually.
- If you mean the 'Translate from source' function, it's only a basic translation to get a FORM from a PB source.
Posted: Thu Nov 09, 2006 1:01 pm
by GeoTrail
gnozal wrote:PureFORM does not update your code (yet?). You have to paste the generated code manually.
Ok, that's what I ment

Posted: Fri Nov 10, 2006 1:42 am
by JCV
How about adding the position of gadget.
Bring to Front
Bring to Back

Posted: Fri Nov 10, 2006 8:42 am
by gnozal
JCV wrote:How about adding the position of gadget.
Bring to Front
Bring to Back
Sorry, I don't understand what you mean with the gadget position front/back.
Posted: Fri Nov 10, 2006 3:50 pm
by JCV
We find it in any RAD application.
Right click control and you can select to move to front/back or toppest control . Its like deciding which control should be created first or last.

Posted: Fri Nov 10, 2006 3:56 pm
by gnozal
JCV wrote:We find it in any RAD application.
I guess I don't have any RAD application then. My only reference is VD, can't find it here.
JCV wrote:Right click control and you can select to move to front/back or toppest control .
Why would this be needed ?
Posted: Fri Nov 10, 2006 4:16 pm
by JCV
Example if you want to place a control above a control.
Its like deciding which control must be created first.
The popup menu isnt really needed, additional move up/down in gadget list is ok.
The toppest control on the list will be created first until the last listed control.