[Module] StatusBarEx (all OS)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

[Module] StatusBarEx (all OS)

Post by Thorsten1867 »

StatusBarEx - Module (all OS / 64Bit / DPI)
  • Color & font changeable (also for individual fields)
  • Integration of ProgressBar / ComboBox / TextButton / ImageButton / HyperLink
  • Linking individual fields with pop-up menus
Image

Download: StatusBarExModule.pbi
Last edited by Thorsten1867 on Fri Dec 20, 2019 3:27 pm, edited 3 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Cyllceaux
Enthusiast
Enthusiast
Posts: 469
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: [Module] StatusBarEx (all OS)

Post by Cyllceaux »

Again really good work :-)

And the bad guy (me) with another DPI
Image
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

2nd try (DPI is still driving me crazy)

Bugfixes: DPI
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Cyllceaux
Enthusiast
Enthusiast
Posts: 469
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: [Module] StatusBarEx (all OS)

Post by Cyllceaux »

Looks good, but after resizing the window, the Combobox shrink to 5px :?
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

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

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Cyllceaux
Enthusiast
Enthusiast
Posts: 469
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: [Module] StatusBarEx (all OS)

Post by Cyllceaux »

still resizing bug

Image

Image
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

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

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Cyllceaux
Enthusiast
Enthusiast
Posts: 469
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: [Module] StatusBarEx (all OS)

Post by Cyllceaux »

Perfect :-)
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

Added: Tooltips
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Lord
Addict
Addict
Posts: 849
Joined: Tue May 26, 2009 2:11 pm

Re: [Module] StatusBarEx (all OS)

Post by Lord »

Hallo Thorsten!
Thorsten1867 wrote:Added: Tooltips
Danke auch dafür!

Was mir noch aufgefallen ist:

Image -->Image

Der Anfasser zur Größenänderung des Fensters wird nicht angezeigt.
Läßt sich das auch noch beheben?
Image
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

Lord wrote:Der Anfasser zur Größenänderung des Fensters wird nicht angezeigt.
Läßt sich das auch noch beheben?
A little painting and it's fixed. :wink:
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

Updates:
  • Bugfixes: correct position for window with menu
  • Added: SetHeight()
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Lord
Addict
Addict
Posts: 849
Joined: Tue May 26, 2009 2:11 pm

Re: [Module] StatusBarEx (all OS)

Post by Lord »

Thorsten1867 wrote:
Lord wrote:Der Anfasser zur Größenänderung des Fensters wird nicht angezeigt.
Läßt sich das auch noch beheben?
A little painting and it's fixed. :wink:
Don't think so, because the grabbing area for resizing the window is larger than just the border as right now.
Image
nicoh
User
User
Posts: 26
Joined: Thu Sep 19, 2019 10:44 am

Re: [Module] StatusBarEx (all OS)

Post by nicoh »

Hi,

in my program I needed two more features: clearing the items of a ComboBox and disabling a field.

Code: Select all

  Declare   ClearItems(GNum.i, Field.i)
  Declare   DisableField(GNum.i, Field.i, State.i)

Code: Select all

  Procedure ClearItems(GNum.i, Field.i)
  
    If FindMapElement(StBEx(), Str(GNum))
      
      If SelectElement(StBEx()\Fields(), Field)
        
        If IsGadget(StBEx()\Fields()\GadgetNum)
          ClearGadgetItems(StBEx()\Fields()\GadgetNum)
        EndIf
        
      EndIf

    EndIf 
    
  EndProcedure

Code: Select all

  Procedure DisableField(GNum.i, Field.i, State.i)
  
    If FindMapElement(StBEx(), Str(GNum))
      
      If SelectElement(StBEx()\Fields(), Field)
        
        If IsGadget(StBEx()\Fields()\GadgetNum)
          DisableGadget(StBEx()\Fields()\GadgetNum, State)
        EndIf
        
      EndIf

    EndIf 
    
  EndProcedure
Would be nice if you could add them.
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] StatusBarEx (all OS)

Post by Thorsten1867 »

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

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Post Reply