PureRESIZE library : gadget automatic resizing and more

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

Moderator: gnozal

quasiperfect
Enthusiast
Enthusiast
Posts: 157
Joined: Tue Feb 13, 2007 6:16 pm
Location: Romania
Contact:

Post by quasiperfect »

hmm u responded so fast ... i edited the post while u where responding :P
Registered user of PureBasic
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

quasiperfect wrote:hmm u responded so fast ... i edited the post while u where responding :P
Seems to be a problem in the PB3.94 PureRESIZE library version used by PureFORM.
If you run the form with F6 (assuming you use PB4.xx) it's fine with the PB4.xx version.

I will try to find the problem ...
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 (PB 3.94 version only)

Changes :
- fixed PanelGadget resize bug
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
harff182
Enthusiast
Enthusiast
Posts: 105
Joined: Thu Dec 08, 2005 4:58 pm
Location: Duesseldorf, Germany

#PureRESIZE_NotAGadget: Confusion

Post by harff182 »

Under what circumstances will the result of PureRESIZE_SetWindowMinimumSize()
be the value of #PureRESIZE_NotAGadget = 2 ; The specified gadget does not exist

I can't figure out, what the "specified gadget" might be or where it comes from,
since I set values for a window and there also is #PureRESIZE_NotAWindow

tia... scholly
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:

Re: #PureRESIZE_NotAGadget: Confusion

Post by gnozal »

harff182 wrote:Under what circumstances will the result of PureRESIZE_SetWindowMinimumSize()
be the value of #PureRESIZE_NotAGadget = 2
Under no circumstances :wink:
It's a copy/paste issue.
The 'windows' functions only return #PureRESIZE_NotAWindow or #PureRESIZE_Ok.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
harff182
Enthusiast
Enthusiast
Posts: 105
Joined: Thu Dec 08, 2005 4:58 pm
Location: Duesseldorf, Germany

Re: #PureRESIZE_NotAGadget: Confusion

Post by harff182 »

gnozal wrote:It's a copy/paste issue.
Thanks for clearing this up, now I can remove the Triple-O-Sticker from my forehead :D
Sorry 4 my poor English, it's the only one I learned 40 years ago...
since 17.12.08: XPHome(SP3) + PB 4.30
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

I get an error stating:
[COMPILER] The following PureLibrary is missing: StringExtension.
I have installed PureBasic 4.30 beta 3, PureFORM 1.99 build 348 and the latest PureResize for PB 4.20.
Everything worked out fine until I installed PureResize. Will you be updating that soon?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Ok, I understand that :)
I'm sure positive to 48 hour days hehehehe. And 14 day weeks. ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Tranquil
Addict
Addict
Posts: 949
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

Hi Forum!

I'm new to PureForm and PureResize and I must say: I love it!

Unfortunately I have a problem compileing with ThreadSave and Unicode in PB4.20.

I only installed PureResize as a userlib on a plain installed PB installation. If I now enable ThreadSave or Unicode, compile isn't possible any more.

On unicode only the code runs in an infinite loop after opening the first window. If I add ThreadSave-Flag I get a POLinker-Error "unresolved external symbol _PB_StringbasePosition".

What I'm doing wrong?

EDIT. Solved it. Forgot to add UserLibUnicodeThreadSafe to compiler options subsystem field. :-
Tranquil
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Tranquil wrote:I'm new to PureForm and PureResize and I must say: I love it!
Thanks :D
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
pablov
User
User
Posts: 19
Joined: Mon Apr 06, 2009 11:55 am

Post by pablov »

Hi gnozal
Please add proportional resizing headers width on ListIconGadget,
and use resizing \ not resize flag for headers.
Thanks.
univeda
User
User
Posts: 22
Joined: Wed May 13, 2009 12:40 am
Location: Germany

Link-Error on 64-bit

Post by univeda »

Hi everybody!

I've installed PB4.0 64-bit on a Windows Server 2008 64-bit. My application compiled well.

Then i installed the PureRESIZE-Lib, added a PureRESIZE-Command to one of my gadgets and my application won't compile anymore because of the following error:
POLINK: fatal error: Corrupt library:'.PureRESIZE_LIB_6.lib'.
Is there a special 64-bit Version of PureRESIZE?

Michael
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 664
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Post by Kurzer »

univeda, I guess the current Version of PureRESIZE is compiled for PB 4.30 only.
You have to install PureRESIZE for PB 4.0.
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

univeda: You will have to find another solution until gnozal has a 64-bit system.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply