PureFORM 1.99 (yet another FORM designer)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

linkerstorm wrote:Found the problem : I had put PureFORM.exe in the path "D:\Developpement\PureBasic 4.00".
PB "Preferences" instructions work bad with this kind of path ?
I just tested this path, no problem here.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Post by linkerstorm »

So try with the same path ("D:\Developpement\PureBasic 4.00\") but without PureFORM.ini file created yet.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

linkerstorm wrote:So try with the same path ("D:\Developpement\PureBasic 4.00") but without PureFORM.ini file created yet.
That's exactly what I did.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Post by linkerstorm »

Sorry, I can't reproduce the bug with the same conditions !

Certainly my PC was in a bad configuration when I first runed PureFORM...
In any case, it isn't a PureFORM bug.

Sorry to have bothered you with that, gnozal.

And PureFORM is very a great tool, like I would wish to develop myself ;)
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Post by linkerstorm »

Another question (no answer found in documentation) : is it possible to change the Tab size (fixed to 2 spaces in PureFORM) when generating the source (with the "Save code as..." otpion) ?
My settings are 4 spaces for the Tab size in PB IDE...
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

linkerstorm wrote:Another question (no answer found in documentation) : is it possible to change the Tab size (fixed to 2 spaces in PureFORM) when generating the source (with the "Save code as..." otpion) ?
My settings are 4 spaces for the Tab size in PB IDE...
Currently no, but I will see what I can do.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Post by linkerstorm »

Thanx, gnozal ;)
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

Hi gnozal,

I don´t know is it a bug or a error by me.
Can you test this project and can say me wat is frong with the vertical Splittergadget?

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶TemplateMaker
;Window¶1¶#wnd_main¶349110273¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_MaximizeGadget|#PB_Window_ScreenCentered¶Window_0¶248¶155¶850¶647¶0¶10¶10¶0¶5000¶5000¶0¶-1¶1¶0¸Datei·1¸Neues Template        STR+N·1¸Offne Template         STR+O·1¸Speichere Template   STR+S¶$W¸·\6¸erstellt ein neues Template·\7¸öffnet ein Template·\8¸speichert ein Template¶
;ContainerGadget¶2¶#con_left¶1¶-1¶-1¶0¶0¶5¶0¶1¶#PB_Container_Flat¶¶¶-1¶7¶¶¶0¶0¶1¶0¶0¶0¶25¶200¶587¶1¶1¶1¶0¶1¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PanelGadget¶3¶#pan_top_con_left¶1¶2¶5¶0¶0¶19¶0¶0¶¶¶¶5¶5¶¶¶0¶0¶1¶1¶2¶0¶0¶200¶280¶1¶0¶0¶0¶0¶1¶0¶-1¶-1¶-1¶-1¶HTML-Files¶0¶¶0¶0
;TreeGadget¶4¶#tree_css¶1¶2¶5¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶-1¶5¶¶¶0¶0¶0¶0¶0¶0¶293¶175¶288¶1¶0¶0¶0¶0¶1¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶5¶#spl_con_left¶1¶2¶5¶0¶0¶24¶280¶0¶¶Gadget_4¶¶3¶0¶#pan_top_con_left¶#tree_css¶3¶4¶0¶0¶0¶0¶0¶200¶585¶1¶1¶1¶0¶1¶0¶0¶-1¶-1¶200¶200¶¶0¶¶0¶0
;ContainerGadget¶6¶#con_right¶1¶-1¶-1¶0¶0¶5¶0¶1¶#PB_Container_Flat¶¶¶7¶7¶¶¶0¶0¶1¶0¶0¶0¶26¶850¶580¶1¶1¶1¶0¶1¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶7¶#spl_conleft_conright¶1¶6¶5¶0¶0¶24¶200¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_6¶¶6¶0¶#con_left¶#con_right¶2¶6¶0¶0¶0¶0¶26¶850¶587¶1¶1¶1¶0¶1¶0¶0¶-1¶-1¶200¶350¶¶0¶¶0¶0
;PureFORM_Project_End
;}
Thanks and regards,
Nico
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

nicolaus wrote:Hi gnozal,

I don´t know is it a bug or a error by me.
Can you test this project and can say me wat is frong with the vertical Splittergadget?
Weird form construction, I think the problem is the first container ...
Here an example of the same construction without the first container (it's just an example, no toolbar or menu)

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¶249¶127¶543¶402¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;PanelGadget¶1¶#Panel_0¶1¶-1¶-1¶0¶0¶19¶0¶0¶¶¶¶3¶3¶¶¶0¶0¶1¶1¶2¶61¶67¶199¶171¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Tab #1¶0¶¶0¶0
;TreeGadget¶2¶#Tree_1¶1¶-1¶-1¶0¶0¶28¶0¶32¶#PB_Tree_AlwaysShowSelection¶¶¶-1¶3¶¶¶0¶0¶0¶0¶0¶82¶257¶177¶147¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶3¶#Splitter_2¶1¶-1¶-1¶0¶0¶24¶195¶2¶#PB_Splitter_Separator¶Gadget_2¶¶1¶5¶#Panel_0¶#Tree_1¶1¶2¶0¶0¶0¶2¶8¶263¶391¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;ContainerGadget¶4¶#Container_3¶1¶-1¶-1¶0¶0¶5¶0¶2¶#PB_Container_Raised¶¶¶5¶5¶¶¶0¶0¶1¶0¶0¶285¶41¶246¶350¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;SplitterGadget¶5¶#Splitter_4¶1¶-1¶-1¶0¶0¶24¶269¶3¶#PB_Splitter_Separator|#PB_Splitter_Vertical¶Gadget_4¶¶4¶0¶#Splitter_2¶#Container_3¶3¶4¶0¶0¶0¶3¶4¶539¶397¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
;PureFORM_Project_End
;}
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- it is now possible to change the tab size used in code view and generated code (default is 2 spaces) [see 'Code' tab in Preferences]
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

gnozal wrote:Weird form construction, I think the problem is the first container ...
Here an example of the same construction without the first container (it's just an example, no toolbar or menu)
...
Without the first ContainerGadget ih have also a working Window but with 2 ContainerGadgets i have found no way so that the Window works right.

regards,
nico
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

gnozal
If I use clone gadget for ImageGadget with already inserted picture and after that just change pics on second ImageGadget
pureform produce code :

Code: Select all

Enumeration
  #Image_1
  #Image_2
EndEnumeration
;}
;{ Images
Enumeration
  #Image_Image_1
  #Image_Image_1
EndEnumeration
;}
;{ Included Images
DataSection ;>
  Image_Image_1:
  IncludeBinary "C:\welcome.jpg"
  Image_Image_1:
  IncludeBinary "C:\second.jpg"
EndDataSection ;<
linkerstorm
User
User
Posts: 47
Joined: Sun Feb 18, 2007 11:57 am

Post by linkerstorm »

gnozal wrote:Update

Changes :
- it is now possible to change the tab size used in code view and generated code (default is 2 spaces) [see 'Code' tab in Preferences]
Thanx for that, gnozal :wink:
Molchyn
User
User
Posts: 42
Joined: Thu Jan 29, 2004 12:54 am

Post by Molchyn »

gnozal
It's about two window project
When you strat to scroll gadgets in Gadget Property window (with arrows in Gadget Property window) when it switched on second window in project Pureform always crashed.

Code: Select all

PureFORM_Project_Begin
Project¶CRASH[20070609-195014]apointment1_1
Window¶1¶#Window_0¶349110273¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_MaximizeGadget|#PB_Window_ScreenCentered¶PI 1.1¶173¶71¶670¶600¶1¶600¶670¶0¶5000¶5000¶0¶-1¶1¶¶¶Conection:ё200ёLSёC:\ico\internet.jpg.ico·ID Status:ё200ёLSё·IP:ё200ёLSёC:\pasha\ico\dowload.ico
ImageGadget¶1¶#Image_E¶1¶-1¶-1¶0¶0¶14¶0¶512¶#PB_Image_Border¶Gadget_0¶¶-1¶0¶C:\img\welcome.jpg¶#Image_Image_0¶0¶0¶0¶0¶0¶0¶0¶670¶65¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
ImageGadget¶2¶#Image_Logo¶1¶-1¶-1¶0¶0¶14¶0¶512¶#PB_Image_Border¶Gadget_1¶¶-1¶0¶C:\img\65.jpg¶#Image_Image_1¶0¶0¶0¶0¶0¶0¶65¶670¶115¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
CalendarGadget¶3¶#Calendar_A¶1¶-1¶-1¶0¶0¶2¶0¶0¶¶¶¶-1¶0¶¶¶0¶0¶0¶0¶0¶474¶69¶195¶160¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
ListIconGadget¶4¶#ListIcon_A¶1¶-1¶-1¶0¶0¶15¶0¶1073807368¶#PB_ListIcon_AlwaysShowSelection|#PB_ListIcon_GridLines|#PB_ListIcon_FullRowSelect¶Time¶¶-1¶0¶¶¶0¶0¶0¶0¶0¶475¶240¶190¶245¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Name·Info¶0¶¶0¶0
ButtonImageGadget¶5¶#ButtonImage_N1¶1¶-1¶-1¶0¶0¶1¶0¶0¶¶¶¶-1¶0¶¶#Image_ButtonImage_4¶0¶0¶0¶0¶0¶480¶495¶60¶35¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
ButtonImageGadget¶6¶#ButtonImage_N2¶1¶-1¶-1¶0¶0¶1¶0¶0¶¶¶¶-1¶0¶¶#Image_ButtonImage_4¶0¶0¶0¶0¶0¶545¶495¶60¶35¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
ButtonImageGadget¶7¶#ButtonImage_C¶1¶-1¶-1¶0¶0¶1¶0¶0¶¶¶¶-1¶0¶¶#Image_ButtonImage_4¶0¶0¶0¶0¶0¶610¶495¶60¶35¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
Window¶2¶#Window_2¶349110273¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar|#PB_Window_MaximizeGadget|#PB_Window_ScreenCentered|#PB_Window_Invisible¶Apointment Administrator¶237¶170¶656¶490¶0¶480¶640¶0¶5000¶5000¶0¶-1¶0¶¶¶
PanelGadget¶8¶#Panel_Adm¶2¶-1¶-1¶8¶0¶19¶0¶0¶¶¶¶11¶11¶¶¶0¶0¶1¶1¶9¶10¶5¶635¶410¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶Tab #1·Tab #2·Tab #3·Tab #4·Tab #5·Tab #6·Tab #7·Tab #8¶0¶¶0¶0
StringGadget¶9¶#String_Debug¶2¶-1¶-1¶0¶0¶25¶0¶0¶¶¶¶-1¶11¶¶¶0¶0¶0¶0¶0¶5¶420¶620¶45¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
SplitterGadget¶11¶#Splitter_10¶2¶-1¶-1¶0¶0¶24¶400¶10¶#PB_Splitter_Separator|#PB_Splitter_SecondFixed¶Gadget_10¶¶8¶0¶#Panel_Adm¶#String_Debug¶8¶9¶0¶0¶0¶0¶0¶656¶489¶0¶0¶0¶0¶0¶0¶0¶-1¶-1¶0¶0¶¶0¶¶0¶0
PureFORM_Project_End
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Molchyn wrote:gnozal
It's about two window project
When you strat to scroll gadgets in Gadget Property window (with arrows in Gadget Property window) when it switched on second window in project Pureform always crashed.
Fixed for the next release.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply