PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

Discoverer
New User
New User
Posts: 4
Joined: Fri May 09, 2008 1:38 pm

Post by Discoverer »

v1.99 build 312

Crash:
The "ListIconGadget" must have one or more flags to be checked, or it will be crashed.
("#PB_ListIcon_MultiSelect" especially)
Discoverer
New User
New User
Posts: 4
Joined: Fri May 09, 2008 1:38 pm

Post by Discoverer »

v1.99 build 312

Problem: "StringGadget".
I try to turn all flags on, then turn them off.
The PureFORM can't refresh correctly, and it start to waste the cpu resource.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (build 314)

Changes :
- fixed bug in gadget flags selection
Last edited by gnozal on Mon May 12, 2008 4:26 pm, edited 1 time in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Discoverer
New User
New User
Posts: 4
Joined: Fri May 09, 2008 1:38 pm

Post by Discoverer »

Thanks for your help...PureFORM works very well now. :D
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Post by akee »

Cannot wait to see what PureForm 2.0 would look like... ;)
LDSang
User
User
Posts: 13
Joined: Mon Feb 18, 2008 8:36 pm
Location: Atlanta, GA

Adding gadgets to a panel

Post by LDSang »

Hey I have a question about adding gadgets to a panel. I Have a window with a panel gadget in it that has 5 tabs. I originally added gadgets in each tab as I created them and it worked perfectly. After doing a bunch of coding, I added a couple of text gadgets after going to the tab in the panel I wanted them in, but PureForm seems to only add them to the Window. I tried doing the "temp copy" procedure in the help, but it always seems to add the gadgets to the Window instead of the panel. If you add the gadgets right when you create the panel, however, it works fine. Is there another procedure to get the gadgets to be added "under" the specific tab in the panel?

And forgive me if this has been answered, but the search function simply brings up the entire thread.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Adding gadgets to a panel

Post by gnozal »

LDSang wrote:After doing a bunch of coding, I added a couple of text gadgets after going to the tab in the panel I wanted them in, but PureForm seems to only add them to the Window
Sounds like a parent gadget / window issue.
LDSang wrote:Is there another procedure to get the gadgets to be added "under" the specific tab in the panel?
No, simply switch to the desired tab and draw the new gadgets on the tab client area.
Did you try using the context menu (add gadget) on the panel gadget client area instead of using the gadget bar ?
This may be a bug, but I can only help if you post / send me your project (PBF file or copy your project to clipboard and paste it between code tags into forum).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
LDSang
User
User
Posts: 13
Joined: Mon Feb 18, 2008 8:36 pm
Location: Atlanta, GA

Re: Adding gadgets to a panel

Post by LDSang »

gnozal wrote:No, simply switch to the desired tab and draw the new gadgets on the tab client area.
Okay, I know I'm not going nuts but I just tried it to confirm and it worked? I spent about 20 minutes trying a few days ago and I know that everytime I went to add a gadget on the tab it would add it, but when I'd look at other tabs it was there as well. I'll try to retrace all of my steps though.
gnozal wrote: Did you try using the context menu (add gadget) on the panel gadget client area instead of using the gadget bar ?
Using the menu doesn't seem to work at all. I tried adding text and button gadgets thru the "Add gadget" menu on the tab, but nothing seems to happen when I do.
gnozal wrote: This may be a bug, but I can only help if you post / send me your project (PBF file or copy your project to clipboard and paste it between code tags into forum).
Seems to be working for what I need to do, although the add gadget part thru the menu isn't working. Thanks for the reply.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Translate from source

Post by Fangbeast »

Just tried out "Translate from source" and it imported almost everything perfectly from my huge Address book project. Will you be adding translating menus, statusbars and adding of columns to listicongadgets as well from the source in the future?

This could save heaps more time for me.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: Adding gadgets to a panel

Post by gnozal »

LDSang wrote:
gnozal wrote: Did you try using the context menu (add gadget) on the panel gadget client area instead of using the gadget bar ?
Using the menu doesn't seem to work at all. I tried adding text and button gadgets thru the "Add gadget" menu on the tab, but nothing seems to happen when I do.
No context menu when right-clicking on the panel gadget client area (not on the tab itself!) ?
From this menu you only select the gadget class, you still need to draw the gadget.
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:

Re: Translate from source

Post by gnozal »

Fangbeast wrote:Just tried out "Translate from source" and it imported almost everything perfectly from my huge Address book project. Will you be adding translating menus, statusbars and adding of columns to listicongadgets as well from the source in the future?
I am not sure... much work !
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

/me bows to Gnozal, the coding machine. Thank you for what you have done so far!!
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (build 316)

Changes :
- fixed broken support for PB4.20 menu icons in generated code (was only working with PureCOLOR)
- fixed seldom random crash after adding a new gadget (I hope)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

hi gnozal,

there's a small bug when moving a gadget which is inside a panelgadget. seems that 'non' parent window are not repainted.

Image
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Flype wrote:hi gnozal,
there's a small bug when moving a gadget which is inside a panelgadget. seems that 'non' parent window are not repainted.
Yes, I know about this. To avoid flickering, the 'non' parent window is only redrawn when you release the gadget. Maybe I find a way to do better.
But it's just a cosmetic issue.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply