PureFORM 1.99 (yet another FORM designer)

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

Moderator: gnozal

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 the moment it works. But before, the change of the windows was ignored in the Window properties. Also in the saved file.

Only temporally?
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
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

when a gadget is selected , it would be nice if it was possible to move it with cursor pixel by pixel.
Please correct my english
http://purebasic.developpez.com/
nicolaus
Enthusiast
Enthusiast
Posts: 456
Joined: Tue Aug 05, 2003 11:30 pm
Contact:

Post by nicolaus »

@gnozal

First i must say thank you for this very nice VD. It is the best wat i have see for PB.

Not a little bit tips:

Can you add the gadget move via arrow key´s?
Can you add a option to show the virtual grid ?

regards,
Nico
Num3
PureBasic Expert
PureBasic Expert
Posts: 2810
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

If you could make the GadgetList sortable (d'n'd or PGup / PgDn) it would be great.

It would make FOCUSING / TAB ORDER quite quick to edit!

Excelent coding BTW!
mike74
User
User
Posts: 60
Joined: Mon Nov 21, 2005 1:44 pm

Post by mike74 »

This is looking good! A couple more feature requests:

1) It would be nice if double-clicking on a gadget/window opened its properties window.

2) Copying and pasting of windows/gadgets.

Thanks and keep up the good work!

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

Post by gnozal »

Update
- added (basic) gadget copy/paste (in context menu or main menu or Ctrl+C/Ctrl+V : parent window/gadget for pasted gadget depends on window/container gadget selected)
- fixed window coordinates sometimes not saved after window resize with mouse
- fixed right-click menu on gadget list not working
- some other little fixes

I will see what I can do for your suggestions.
Thanks.
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 »

Comtois wrote:when a gadget is selected , it would be nice if it was possible to move it with cursor pixel by pixel.
At the moment you can use the spingadgets in the gadget properties window : you can move / size the gadget pixel by pixel (much more precise than mouse moves). Same for windows in the windows properties window.
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 »

thx, work fine!

can you add XP-Style for Preview Mod (optional) ?
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
Last version introduced a big bug :oops:
It is fixed now.
Please download again.
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 »

ts-soft wrote:thx, work fine!

can you add XP-Style for Preview Mod (optional) ?
I don't know how ; I don't have XP ...
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 »

gnozal wrote:I don't know how ; I don't have XP ...
only create a file named as Exename.manifest with the text of xp.res in the pb-compilers dir. Then Restart the preview.
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 »

PureFORM.exe.manifest wrote:<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="PureBasicApplication"
version="1.0.0.0"
processorArchitecture="*"/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="*"/>
</dependentAssembly>
</dependency>
</assembly>
Only create and restart the application to show result in XP-Style.
To disable, delete the file and restart.
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:
PureFORM.exe.manifest wrote:
Only create and restart the application to show result in XP-Style.
To disable, delete the file and restart.
Oh, with a manifest? I meant some API function.
The preview mode does not (re)start anything. It's simply the normal mode without the form designer functions. I don't start the PB compiler to compile the current form to an EXE, so I can't do what you suggest.
But I could add a 'compile form to exe' function.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
Kiffi
Addict
Addict
Posts: 1353
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Post by Kiffi »

hello gnozal,

here is a small bug while importing an existent project ('Translate from source'):
PureFORM wrote:Code import error!

Line 68: If OpenWindow(#frmMain, #PB_Ignore, #PB_Ignore, 300, 300, "test", #PB_Window_ScreenCentered | #PB_Window_SystemMenu)

Window coordinate not an integer
I think, you can't parse the #PB_Ignore - Constant, right?

Greetings ... Kiffi
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 »

Only create the manifest, end pureform.exe and restart with automatic loading last project :wink:
Very simple. If the manifest at start found, pureforms.exe uses XP-Style at all, if not found, no XP-Style.
No API-required. Only the manifest as file delete or create bevor new start the designer.

Image
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