Page 1 of 1

SetGadgetItemData stores a LONG value ?

Posted: Mon Oct 14, 2024 11:25 pm
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?

Re: SetGadgetItemData stores a LONG value ?

Posted: Mon Oct 14, 2024 11:35 pm
by idle
it's an integer so pointer is fine

Re: SetGadgetItemData stores a LONG value ?

Posted: Mon Oct 14, 2024 11:53 pm
by Bisonte
phew ;)

Thx for clarify.

Re: SetGadgetItemData stores a LONG value ?

Posted: Tue Oct 15, 2024 8:24 am
by Fred
Yes, it's indeed an integer, I will change the quick help