ProGUI V1.38 UI Library (Small Bug Fix)

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by ts-soft »

Marco2007 wrote:Very cool! Thx!

Thanks for SaveRebarLayout() and LoadRebarLayout() :D
+1


I miss some examples for Skinning and ButtonEx.

Greetings - Thomas
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
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by PrincieD »

Marco2007 wrote:Very cool! Thx!

Thanks for SaveRebarLayout() and LoadRebarLayout() :D
It would be perfect, if the state of ShowRebarBand() would be included....
No worries Marco, ahh yes it needs the ShowRebarBand state saved too doh! I'll sort it :)
ts-soft wrote:I miss some examples for Skinning and ButtonEx.
Yes sorry Thomas I just wanted to get the release out as I know you've all been waiting a while for it!
I'll be adding some more examples this week and a skin editor tool as well :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Barney
User
User
Posts: 54
Joined: Wed Apr 26, 2006 12:01 pm

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by Barney »

Thanks for your great work, PrincieD. I am really enjoying using your software. :D

Barney
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by PrincieD »

Barney wrote:Thanks for your great work, PrincieD. I am really enjoying using your software. :D
Thanks Barney! and no worries, I'm glad you're enjoying using it! :D

Guys, thanks to Cho reporting a bug where clicking on a menu item under Windows XP 32bit I've discovered a bug in PB's UnlockMutex command whereby if the command is called twice the next LockMutex command will hang forever, just fixing up the code now.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
marc_256
Addict
Addict
Posts: 835
Joined: Thu May 06, 2010 10:16 am
Location: Belgium
Contact:

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by marc_256 »

Hi Chris,

I just started to use your software,
when I started 'PanelExample.exe' my computer hangs...
even when I use it in PB 4.51RC2 with 'PanelExample.pb' file the computer hangs.
Even other examples hangs.

Is this the reason you mention above.
If not so, must I remove older ProGui 1.18 before installing 1.20 ?

I use WIN XP SP2 / ATHLON XP CPU


Marc,
- every professional was once an amateur - greetings from Pajottenland - Belgium -
PS: sorry for my english I speak flemish ...
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.20! User Interface Library (New Skinned Button

Post by PrincieD »

marc_256 wrote:Hi Chris,

I just started to use your software,
when I started 'PanelExample.exe' my computer hangs...
even when I use it in PB 4.51RC2 with 'PanelExample.pb' file the computer hangs.
Even other examples hangs.

Is this the reason you mention above.
If not so, must I remove older ProGui 1.18 before installing 1.20 ?

I use WIN XP SP2 / ATHLON XP CPU


Marc,
Hi Marc, yes thats correct, it's because of the UnlockMutex bug. I should have the new update ready in an hour or so.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by PrincieD »

Ok guys, the new bug fix release is out - see top of thread :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by ts-soft »

PrincieD wrote:Ok guys, the new bug fix release is out - see top of thread :)

Chris.
No Gold-Update :?:
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
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by PrincieD »

ts-soft wrote:
PrincieD wrote:Ok guys, the new bug fix release is out - see top of thread :)

Chris.
No Gold-Update :?:
yep soon soon :) just testing out a new mailing list with Josh (thanks man!), this is so that everybody's email address isn't visible to everyone when sending the update emails.
please let me know if you find any problems with this release too by the way :)

Cheers!

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
csk
User
User
Posts: 39
Joined: Tue May 03, 2011 5:52 pm
Location: Little Red Dot

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by csk »

Hi Chris,

I am Cho. "csk" is my forum ID.

Thanks for the ver 1.21 update. I confirm the Menu bug is now resolved.

Thanks and Regards
Cho
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by PrincieD »

csk wrote:Hi Chris,

I am Cho. "csk" is my forum ID.

Thanks for the ver 1.21 update. I confirm the Menu bug is now resolved.

Thanks and Regards
Cho
No worries Cho, glad it's working :)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by ts-soft »

Hi Chris,

this code crashes with ButtonEx but works with ImageButtonEx?

Code: Select all

EnableExplicit

DataSection
  ico: IncludeBinary "ProfanIDE.ico"
EndDataSection

Define tmpimg

Dim IMG(3)
tmpimg = CatchImage(#PB_Any, ?ico)
IMG(0) = ImageID(tmpimg)
IMG(1) = ImgBlend(IMG(0), 255, 20, 20, 0, 0, 0)
IMG(2) = ImgBlend(IMG(0), 255, 0, 0, 0, 50, 0)
IMG(3) = ImgBlend(IMG(0), 0, 0, 0, 0, 0, #ImgBlend_Greyscale)
OpenWindow(0, #PB_Ignore, #PB_Ignore, 150, 88, "Test")
;ImageButtonEx(WindowID(0), 1, 20, 20, 48, 48, IMG(0), IMG(1), IMG(2), 0)
ButtonEx(WindowID(0), 1, 20, 20, 100, 50, "Profan", IMG(0), IMG(1), IMG(2), IMG(3), 0)
Repeat
  Select WaitWindowEvent()
    Case #PB_Event_CloseWindow : Break
    Case #PB_Event_Menu
      Select EventMenu()
        Case 1
          MessageRequester("3-State-Test", "Button Click")
      EndSelect
  EndSelect
ForEver
Greetings - Thomas
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
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by PrincieD »

ts-soft wrote:Hi Chris,

this code crashes with ButtonEx but works with ImageButtonEx?
Hi Thomas,

I was unable to get it to crash here, tested both the DLL version and Userlib here with PB 4.51 (x64). Are you
using the new beta of PureBasic with the Userlib version? (this may cause problems as TailBite might not work correctly with the latest beta yet)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by ts-soft »

Tested with Userlib and PB 4.51 x86. One or two moves with the mouse over the windows crashes always at:

Code: Select all

Select WaitWindowEvent()
Crashes with your userlib, with my userlib but not with DLL!

// edit
problem is only on x86, not on x64!
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
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.21! User Interface Library (New Skinned Button

Post by PrincieD »

ts-soft wrote:Tested with Userlib and PB 4.51 x86. One or two moves with the mouse over the windows crashes always at:

Code: Select all

Select WaitWindowEvent()
Crashes with your userlib, with my userlib but not with DLL!

// edit
problem is only on x86, not on x64!
Thanks Thomas, I've confirmed the crash, working on a fix now (due to me using some exported string functions internally I think, Tailbite doesn't like this!)

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
Locked