Page 1 of 1
New Userlib: OwnGadget v1.1
Posted: Tue May 11, 2004 4:41 pm
by Erlend
Grab the new user lib at
http://home.c2i.net/PreachersPlace/
Contains a slightly better documented example and reference file.
Enjoy!
Preacher
Re: New Userlib: OwnGadget v1.1
Posted: Tue May 11, 2004 5:11 pm
by NoahPhense
Kewl, thanks..
- np
Posted: Tue May 11, 2004 10:54 pm
by Dare2
Thanks.
Will play with it tonight.

Posted: Tue May 18, 2004 12:06 am
by Dare2
Hi Erland,
Sorry to take so long to get back to you (I am flat out with a heap of non-PB stuff at the mo, and for a little while more).
But I was drooling to try this and so snuck a few moments in.
It looks really good. Thanks for the added functionality. I would like to use this to replace some
really clumsy code in some stuff I have done, if OK with you.
A question on OG_CreateGadgetType. This always returns 0, but also creates the gadget.
Code: Select all
If OG_CreateGadgetType("MYGADGET",-1,"")=0
MessageRequester("!","OG NOT CREATED",0)
EndIf
The doc says "Returns: Non Zero if sucessfull". Is this something you need to be aware of or wanted reported?
Anyhow, this is cool. Can't wait to the non-PB stuff done so I can incorporate this in some existing code!

Posted: Wed May 19, 2004 4:10 pm
by Erlend
Hi Dare2
I will look at the OG_CreateGadgetType() function tonight, sounds like a small bug. And yes sure it's ok to use it, I haven't stated it anywhere in the docs but the lib is public domain and It's only cool if people use it.

Posted: Sat May 22, 2004 5:52 pm
by Erlend
Finnally found some time to fix the problem, fixed version is available at home.c2i.net/PreachersPlace/
Enjoy
Posted: Sun May 23, 2004 1:31 am
by Dare2
Hi Erlend,
Thanks. Downloading now.
Ack. Been mistyping your nick. Sorry!