I need to create a simple login requester (username & password). What's the best way to create that?
I originally assumed that I should use the requester.class, but that seems to be for predefined requesters only. There's no provision for adding custom GUI elements. Unless I've missed something...
So, are we supposed to use a struct Requester to build a custom one? Or use the window.class?
EDIT: I could be lazy and have separate requesters for the username and password, but that would create an extra step for the user. I'd rather have it all on one page.
Hans
Use window.class, it will just be simple GUI window same as anay other. You will have to manualy make the main app windows busy if needed but that is trivial. (set WA_BusyPointer).
@Hans
Check out TimedDosRequester in SDK:Documentation/AutoDocs/dos.doc.
It can be called from a task so your program can continue working while the requester waits for user input and you can include a timeout for the requester.
X1000 - OS 4.1FE
Thanks guys.
Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work