New UserLib : RequesterPlus

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

New UserLib : RequesterPlus

Post 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
Last edited by Flype on Sun May 09, 2004 4:59 am, edited 1 time in total.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

You're on a roll Flype! 8O
Nice work! :twisted:
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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)
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

:D
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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 ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

so that, i'm freely allowed to use them as i want...
good news :)
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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...
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

ok. it was just a thought though.
freak
PureBasic Team
PureBasic Team
Posts: 5962
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post 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
quidquid Latine dictum sit altum videtur
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post 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
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

That date-picker is very useful Flype :)
thanks!
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

there's many many things to come :

IP + Port Requester
Login + Password Requester
Cool About Box
...
..
.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Fred
Administrator
Administrator
Posts: 18531
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post 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.
Post Reply