PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

PureForm - Menu Builder

Post by reisve »

How do I get to menuBuilder in PureForm?
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Here's a pic:

Image

Right click on the window list and select add menu from the context. The menu builder will then pop-up.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

reisve wrote:How do I get to menuBuilder in PureForm?
In PureFORM, most functions are available through context menus. The menu builder is available in the window context menu.
The window menu is available :
- when you right-click on the form window ;
- in each form window system menu.
On line help : http://freenet-homepage.de/gnozal/PureF ... Manual.htm
About the window menu : http://freenet-homepage.de/gnozal/PureF ... owMenu.htm
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

Post by reisve »

Thanks

The hep / manual is not very clear. And, as most of the people I know, reading the manual, is the last resource.... :wink:

And By the way... does it have this Windows icons "Make new folder" and "Up one level"?
harff182
Enthusiast
Enthusiast
Posts: 105
Joined: Thu Dec 08, 2005 4:58 pm
Location: Duesseldorf, Germany

Post by harff182 »

reisve wrote:And, as most of the people I know, reading the manual, is the last resource.... :wink:
You should think this attitude over - there may be (usually helpful) people around, who from here only answer with "RTFM" or "use the search-button".
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

reisve wrote:And By the way... does it have this Windows icons "Make new folder" and "Up one level"?
?? I don't understand the question.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
reisve
User
User
Posts: 86
Joined: Sat Nov 08, 2008 4:52 pm
Location: Luanda, Angola

Post by reisve »

Sorry
Answer (question) to a wrong topic
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

Hello Gnozal,

do you work on a PureForm update? PureBasic 4.30 final brought some minor changes in the GUI syntax.

I whish you all Happy Holidays and a happy new Year!
(I think that I won't be online till 2009)

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

Post by gnozal »

kurzer wrote:do you work on a PureForm update? PureBasic 4.30 final brought some minor changes in the GUI syntax.
It was a compiler version detection issue.
PureFORM should now detect PB4.30 final and generate 'genuine' PB 4.30 code.
New build uploaded.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

Thank you gnozal.

But one issue... the combobox height parameter affect now the height of the gadget not the height of the box where the entries are listes after a click (this changes in 4.30).
But in PureForm I can't change the height of a combobox via mouse. And if I change the height via propertysetting for a combobox, nothing happens in the GUI window. The combobox-gadget does not change it's height.

I hope you understand what I mean. ;)

Kind Regards, Kurzer

PS: PureForm still generate code with the outdated function "CreateGadgetList()"
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kurzer wrote:But one issue... the combobox height parameter affect now the height of the gadget not the height of the box where the entries are listes after a click (this changes in 4.30).
But in PureForm I can't change the height of a combobox via mouse. And if I change the height via propertysetting for a combobox, nothing happens in the GUI window. The combobox-gadget does not change it's height.
Yes, you can't change the combobox gadget height in the form but the generated code should be correct.
If you need this, you could define a custom gadget.

Code: Select all

;{[PureFORM Project]
;PureFORM_Project_Begin
;Project¶CustomComboGadget
;Window¶1¶#Window_0¶13500416¶#PB_Window_SystemMenu|#PB_Window_SizeGadget|#PB_Window_MinimizeGadget|#PB_Window_TitleBar¶Window_0¶388¶54¶400¶400¶0¶10¶10¶0¶5000¶5000¶0¶-1¶0¶¶¶
;Custom Gadget¶1¶#Custom_2¶1¶-1¶-1¶0¶0¶30¶0¶2052¶¶¶¶-1¶0¶ComboBoxGadget430··ComboBoxGadget(%id%, %x%, %y%, %w%, %h%, %[flags]%)··#PB_ComboBox_Editable|#PB_ComboBox_LowerCase|#PB_ComboBox_UpperCase·¶¶0¶0¶0¶0¶0¶64¶159¶229¶53¶0¶0¶0¶0¶0¶0·0·0·0·0·0·0¶0¶-1¶-1¶-1¶-1¶¶0¶¶0¶0
;PureFORM_Project_End
;}
kurzer wrote:PS: PureForm still generate code with the outdated function "CreateGadgetList()"
Works here with PB4.30 final !?
What compiler version does the 'about' window show ?

Updated again to fix a seldom code infusion bug posted on the french forum.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

Hello Gnozal,

shame on me. I mixed up some GUI sources.
PureForm generates fine 4.30 code without using CreateGadgetList().

Sorry for the "false alarm". :oops:
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Code Infusion with Program init

Post by mike.harris »

Hi Gnozal

Great programming on both PureForm and JaPBe.
I have just started with PureBasic over the last few weeks and so far I like what I see. I have a problem with the Code infusion function. I have created several and updated them fine, but once I have created one in the Program init location I cannot remove or update it.
Is this a known problem or is it me (quite happy to accept it is now).
I have tried everything to get rid of it but as soon as I open the Code infusion it comes back again.

Any help is appreciated.

Regards

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

Re: Code Infusion with Program init

Post by gnozal »

mike.harris wrote:I have created several and updated them fine, but once I have created one in the Program init location I cannot remove or update it.
It seems to work here (tested with latest build 360).
To remove a code infusion item, you have to erase the code. Ensure there isn't anything left, like an empty line.
If it doesn't work, it's a bug ; could you post the project [Edit -> Copy project to clipboard ; then paste it between code tags in the forum] ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
mike.harris
User
User
Posts: 10
Joined: Fri Jul 04, 2008 9:15 pm
Location: Caerphilly, Wales

Post by mike.harris »

Gnozal

Thanks for the reply. I looked in the .pbfi file and found the following multiple entries. Does this mean anything to you. When I get a chance and I will delete them from the file and see what happens.

6:1:0:35
XIncludeFile "EfacsUserManager.pbi"
6:1:0:35
XIncludeFile "EfacsUserManager.pbi"
6:1:0:35
XIncludeFile "EfacsUserManager.pbi"

Mike
Post Reply