Page 1 of 2

New UserLib : RequesterPlus

Posted: Sun May 09, 2004 3:03 am
by Flype

Code: Select all

;-------------------------------------------------------------------------------
;
; Name        : RequesterPlus
; Version     : 0.1
;
; Author      : Flype ( flype@altern.org )
; Date        : 08 may 2004
;
; Purpose     : RequesterPlus provide a little bit more requesters
;
; Compatibily : Some commands are designed for Microsoft Windows only
; Compilation : TailBite 1.1 PR 10 and PureBasic 3.90
;
; Commands    : AboutShellRequester( Title.s, Text1.s, Text2.s, hIcon.l)
;
;               ListViewRequester(WindowID.l, Title.s, Message.s)
;               ListViewRequester_AddItem(Item.s)
;               ListViewRequester_Clear()
;
;               InfoBox(Title.s, Message.s) 
;               WarningBox(Title.s, Message.s) 
;               ErrorBox(Title.s, Message.s) 
;               QuestionBox(Title.s, Message.s, Flags.l)
;
;-------------------------------------------------------------------------------
This lib will grow, in the future, with many more requesters :P

RequesterPlus is available here :

http://www.serveurperso.com/~flype/Pure ... erPlus.zip

Image

Posted: Sun May 09, 2004 3:43 am
by PolyVector
You're on a roll Flype! 8O
Nice work! :twisted:

Posted: Sun May 09, 2004 5:55 am
by Flype
2 more functions added :

Code: Select all

TextRequester(WindowID.l, Title.s, Message.s, Text.s)
TextBox(WindowID.l, Title.s, Message.s, Text.s)

Posted: Sun May 09, 2004 6:09 am
by PolyVector
:D

Posted: Sun May 09, 2004 1:43 pm
by Flype
I need to know what happens with TailBite if i use userlibs functions into my userlib ?

in other words,
the code of the external function is included in my userlib or not ?

Posted: Sun May 09, 2004 2:07 pm
by thefool
i guess it is, because i think the original pb libs are handeled nearly the same way as userlibs, and the original libs are included.

Posted: Sun May 09, 2004 2:20 pm
by Flype
so that, i'm freely allowed to use them as i want...
good news :)

Posted: Sun May 09, 2004 3:48 pm
by Flype
hum, actually it doesn't work !

i tried and i can say that external userlibs
are not included in my userlib through TailBite...

Posted: Sun May 09, 2004 4:16 pm
by thefool
ok. it was just a thought though.

Posted: Sun May 09, 2004 5:31 pm
by freak
If, from your userlib, you make calls to another one, the user that wishes
to use your lib will require that other lib as well.

Timo

Posted: Sun May 09, 2004 6:11 pm
by fweil
Flype,

I red your source and I just want to tell you it is a nice coding style.

And the library is nice too, good functions to add for coding higher quality user interface.

Rgrds

Posted: Sun May 09, 2004 7:16 pm
by Flype
thanx fweil, your coding style is nice too :wink:

New beta version 0.3 which include a date picker !

Image

you can have a look on the beta version here :

http://www.serveurperso.com/~flype/Pure ... usBeta.zip

Posted: Sun May 09, 2004 7:19 pm
by PolyVector
That date-picker is very useful Flype :)
thanks!

Posted: Sun May 09, 2004 7:42 pm
by Flype
there's many many things to come :

IP + Port Requester
Login + Password Requester
Cool About Box
...
..
.

Posted: Mon May 10, 2004 2:36 pm
by Fred
AFAIK, TailByte uses the PB libs but doesn't includes them, which means than all will be shared between the user program and your library. In other word, you will have to use the dynamic object handling for all the used PB objects (#PB_Any) or you could have conflicts with user's objects.