Page 1 of 2

[Module] StatusBarEx (all OS)

Posted: Fri Mar 22, 2019 6:04 pm
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

Re: [Module] StatusBarEx (all OS)

Posted: Fri Mar 22, 2019 7:38 pm
by Cyllceaux
Again really good work :-)

And the bad guy (me) with another DPI
Image

Re: [Module] StatusBarEx (all OS)

Posted: Fri Mar 22, 2019 8:55 pm
by Thorsten1867
2nd try (DPI is still driving me crazy)

Bugfixes: DPI

Re: [Module] StatusBarEx (all OS)

Posted: Sat Mar 23, 2019 5:08 pm
by Cyllceaux
Looks good, but after resizing the window, the Combobox shrink to 5px :?

Re: [Module] StatusBarEx (all OS)

Posted: Sat Mar 23, 2019 6:07 pm
by Thorsten1867
Bugfixes

Re: [Module] StatusBarEx (all OS)

Posted: Sat Mar 23, 2019 7:04 pm
by Cyllceaux
still resizing bug

Image

Image

Re: [Module] StatusBarEx (all OS)

Posted: Sat Mar 23, 2019 7:14 pm
by Thorsten1867
Bugfixes

Re: [Module] StatusBarEx (all OS)

Posted: Sun Mar 24, 2019 2:25 pm
by Cyllceaux
Perfect :-)

Re: [Module] StatusBarEx (all OS)

Posted: Sun Mar 24, 2019 5:36 pm
by Thorsten1867
Added: Tooltips

Re: [Module] StatusBarEx (all OS)

Posted: Mon Mar 25, 2019 8:05 am
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?

Re: [Module] StatusBarEx (all OS)

Posted: Mon Mar 25, 2019 9:31 am
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:

Re: [Module] StatusBarEx (all OS)

Posted: Sat Mar 30, 2019 3:44 pm
by Thorsten1867
Updates:
  • Bugfixes: correct position for window with menu
  • Added: SetHeight()

Re: [Module] StatusBarEx (all OS)

Posted: Sun Mar 31, 2019 10:29 am
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.

Re: [Module] StatusBarEx (all OS)

Posted: Thu Sep 19, 2019 11:21 am
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.

Re: [Module] StatusBarEx (all OS)

Posted: Thu Sep 19, 2019 4:08 pm
by Thorsten1867
Added