Panelgadget Multirows Option

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Panelgadget Multirows Option

Post by Guimauve »

Hello,

For the moment I use a function like this to force the PanelGadget to display it's Tab in Multirows.

Code: Select all

Procedure ForcePanelGadgetToMultiRows(GadgetID.l)
  
  OldStyle.l = GetWindowLongPtr_(GadgetID(GadgetID), #GWL_STYLE)
  NewStyle.l = OldStyle | #TCS_MULTILINE | #TCS_RIGHTJUSTIFY
  SetWindowLongPtr_(GadgetID(GadgetID), #GWL_STYLE, NewStyle)
  SetGadgetState(GadgetID, 0)
  
EndProcedure
But it should be nice to have an option on the current PanelGadget to control this behaviour.

Best Regards

Guimauve
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Re: Panelgadget Multirows Option

Post by Fluid Byte »

That request will never happen since it's not possible on Mac and Linux.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Post Reply