Make SetGadgetItemData work with PanelGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Make SetGadgetItemData work with PanelGadget

Post by Hurga »

That would be cool if you could expand the use of SetGadgetItemData to work with Panelgadget also.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Make SetGadgetItemData work with PanelGadget

Post by IdeasVacuum »

...what data can the Panel Gadget hold?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Make SetGadgetItemData work with PanelGadget

Post by ts-soft »

+1

here is a workaround
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Re: Make SetGadgetItemData work with PanelGadget

Post by Hurga »

Thx for the workaround, but it seems to use winapi, My code should be OS-independent, so I cant use it for my project.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Make SetGadgetItemData work with PanelGadget

Post by ts-soft »

Hurga wrote:Thx for the workaround, but it seems to use winapi, My code should be OS-independent, so I cant use it for my project.
Okay, workaround - crossplattform and simple :wink:
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
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Re: Make SetGadgetItemData work with PanelGadget

Post by Justin »

i think i requested this maybe a year ago
Post Reply