PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

thx gnozal!

How i can set the path to the compiler if the PureFORM.exe not in the install directory of PB ?

regards,
Nico
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

How could I resize two objects placed vertically in a window in a proportional
way? its to say if I resize the window I want the objects dont overlap, I want
the objects resize like if they were only one object.
chen
Enthusiast
Enthusiast
Posts: 338
Joined: Fri Dec 23, 2005 2:20 pm
Location: Quebec, Canada
Contact:

Post by chen »

Two points

- When you use PureColor in a Tab Gadget as backgroung and run it
using option Run (XP Style) the color does not appear.

- If you change the text in the tab (replace tab #1) and run it XP Style,
when you pass the cursor over this text it goes out of sight.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

chen wrote:When you use PureColor in a Tab Gadget as backgroung and run it using option Run (XP Style) the color does not appear.
It's a known problem with PureCOLOR.
For some reason, M$ does not comply with its own API specifications when XP styles are used : some ownerdraw gadgets used in PureCOLOR don't work with XP styles (PanelGadget, Buttons, ...).
And I don't have XP...
chen wrote:If you change the text in the tab (replace tab #1) and run it XP Style, when you pass the cursor over this text it goes out of sight.
I don't have XP...
And if you run the code in the editor/jaPBe ?
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 »

nicolaus wrote:thx gnozal!
How i can set the path to the compiler if the PureFORM.exe not in the install directory of PB ?
regards,
Nico
You can't.
I will add the option.
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 »

chen wrote:How could I resize two objects placed vertically in a window in a proportional way? its to say if I resize the window I want the objects dont overlap, I want the objects resize like if they were only one object.
Sorry, I don't understand what you mean ...
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
- some fixes
- added : you can choose the compiler path.
- added : Splittergadgets in containers (ContainerGadget, PanelGadget) : first select container (blue frame) and then create splitter (or use right-click context menu as before).
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

thx for the very fast update ;)

and how i can add e seperator (-----------) into a menu?

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:and how i can add e seperator (-----------) into a menu?
Damn, I didn't think of that :oops:
I will have to add it ....
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

from falo (german forum)
there is a bug in GadgetBar
If you create a ImageButtonGadget, the result is a ImageGadget

thx, fine tool
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes
- added menu separator in MenuBuilder
- fixed a GadgetBar bug (if you created an ImageButtonGadget, the result was an ImageGadget)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

In PureResize and PureColor a no stringparameter, but unicode works not.
Can you import all required API in ansi, so the libs shout work in unicode also
and i can use the extra features of the designer, please
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

ts-soft wrote:In PureResize and PureColor a no stringparameter, but unicode works not.
They use strings (internal only, to get window classes for example).
Though I managed to build threadsafe libs, the libs still don't work in unicode mode ; it's a known problem with userlibs ( http://www.purebasic.fr/english/viewtop ... c&start=32 ).
ts-soft wrote:Can you import all required API in ansi, so the libs shout work in unicode also and i can use the extra features of the designer, please
I don't know how to build a working ANSI&UNICODE library with Tailbite. I guess we have to wait for the final Tailbite for PB4 release.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

I have made a small tutorial for this, but in german, my english isn't good :oops:
http://www.purebasic.fr/german/viewtopic.php?t=9924
I hope this helps a bit :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

> They use strings (internal only, to get window classes for example).

Code: Select all

Import "user32.lib"
 GetClassNameA(hwnd.l, lpClassName.l, nMaxCount.l)
EndImport
Change GetClassName_ to GetClassNameA :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply