ProGUI V1.38 UI Library (Small Bug Fix)

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Thorsten1867 »

If I work a few minutes with my program the toolbar buttons disappear completly.

Image
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Rook Zimbabwe »

Thorsten I am thinking this may be a refresh issue. You may have to simply recall all active elements... BUT I am only stating. I did not write this code and have only played with it in my Restaurant Poitn of Sale application so far!

A question: Does this happen in the IDE or in the compiled version?

If IDE, what IDE are you using?
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Thorsten1867 »

The compiled version.
The window contains a menu, a toolbar, a sidebar and a listicon.
The toolbar is inside a container gadget.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by srod »

Check the container does not have the #WS_CLIPCHILDREN style.
I may look like a mule, but I'm not a complete ass.
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by PrincieD »

Hi Thorsten!

I'll see if I can replicate the problem, I've just been a bit busy this week trying to find a flat.

Thanks Rook and Srod btw for helping with the debugging! :) much appreciated!

Thorsten, have you tried putting the menu and toolbar inside a rebar? (this is probably a better approach)

Cheers!

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Thorsten1867 »

Can I close the dropdown menue manually?
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
real
User
User
Posts: 49
Joined: Fri Oct 08, 2004 5:17 am

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by real »

MenuExample1.pb compiled with x86 versions of Purebasic 4.31 and 4.40b4 in both userlib and .dll mode on Windows 7 x64:

Image
Windows 7 x64, PureBasic 4.31 & 4.40b4 x86
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Rook Zimbabwe »

Compiled THEMES ON or OFF?
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
real
User
User
Posts: 49
Joined: Fri Oct 08, 2004 5:17 am

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by real »

Themes OFF! Thank you for your help, with enabled XP skin support everything looks great! :D
Windows 7 x64, PureBasic 4.31 & 4.40b4 x86
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by PrincieD »

Thanks Rook, beat me to it! :)
Can I close the dropdown menue manually?
hmmm, not sure what you mean there Thorsten. endmenu_() perhaps ?

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Thorsten1867 »

If another gadget gets the focus, I want close the dropdown menu, if it's open.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by PrincieD »

If another gadget gets the focus, I want close the dropdown menu, if it's open.
Ahh right, yes endmenu_() should do the trick. Just call that command when the other gadget gains focus and any active menu will be closed.

Chris.
ProGUI - Professional Graphical User Interface Library - http://www.progui.co.uk
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by Thorsten1867 »

That sounds good. I'll try it.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
X0r
Enthusiast
Enthusiast
Posts: 138
Joined: Tue May 01, 2007 3:49 am
Location: Germany

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by X0r »

Hi Chris,
when I use the "#UISTYLE_WHIDBEY" style the menu does not look like it should, in my opinion. It's just the Office XP style but it should look like this:
http://www.codeproject.com/KB/mcpp/Whid ... _Style.png

(So it is actually the #UISTYLE_OFFICE2003 style but with differen colors)
PrincieD
Addict
Addict
Posts: 858
Joined: Wed Aug 10, 2005 2:08 pm
Location: Yorkshire, England
Contact:

Re: ProGUI V1.12! Professional Graphical User Interface Library

Post by PrincieD »

Hey man!
Hi Chris,
when I use the "#UISTYLE_WHIDBEY" style the menu does not look like it should, in my opinion. It's just the Office XP style but it should look like this:
http://www.codeproject.com/KB/mcpp/Whid ... _Style.png

(So it is actually the #UISTYLE_OFFICE2003 style but with differen colors)
Ah, I see what you mean. I was under the impression that "Whidbey" was the formal name for the Office XP style? however you can simply use the #UISTYLE_OFFICE2003 with custom colours to achieve that look if you wish :)

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