SetGadgetItemData stores a LONG value ?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

SetGadgetItemData stores a LONG value ?

Post by Bisonte »

The Statusbar of the IDE (PB 6.12LTS x64) on W10 shows
SetGadgetItemData(#Gadget, Item, Value) - Stores a Long value with this Gadget item
Is this correct ? Or is it a typo in this field ?

In the Help(F1) there is no information about the datatype ...

My question is : can I safely save a pointer there or was I just lucky that it worked so far?
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
User avatar
idle
Always Here
Always Here
Posts: 5896
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: SetGadgetItemData stores a LONG value ?

Post by idle »

it's an integer so pointer is fine
User avatar
Bisonte
Addict
Addict
Posts: 1313
Joined: Tue Oct 09, 2007 2:15 am

Re: SetGadgetItemData stores a LONG value ?

Post by Bisonte »

phew ;)

Thx for clarify.
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SetGadgetItemData stores a LONG value ?

Post by Fred »

Yes, it's indeed an integer, I will change the quick help
Post Reply