views:

239

answers:

2

I know what a singleton is, but while walking through a web-app, my co-worker said "singleton-modeless". What does he mean by this?

+2  A: 

Well a modeless form is the opposite of a modal form.

modeless form

Allows you to change the focus from form to form.

modal form

Disallows focus change until the modal form is closed.

That being said, singleton modeless must mean a single instance of a modeless form.

Andrew Hare
Downvoters: please leave a reason.
Andrew Hare
+1 for logical thinking. Some downvoters will do so on answers that are not definitive, btw.
Robert S.
Interesting. Thanks for this. :) I'm sure it'll help him - it helped me.
Zack
Surely every instance is a single instance: the "singleton" implies that only one instance can exist at a time (within some scope - the application, I'd guess).I've always hated modal dialogs and windows: almost all of the examples I've seen don't really need to be modal.
cheduardo
+3  A: 

I found a reference to it in the MSDN Architecture Center here. They appear to mean a window that is not modal (in other words, the user is not forced to interact with it before interacting with its parent) and where only one instance of it exists.

I'm not sure if that's what you're co-worker meant but I wouldn't feel bad about not knowing what he meant. He may not have actually known himself.

Cameron
I think you forgot the link?
chills42
I did, thank you. Added.
Cameron
Actually this makes sense cause we were talking about how some JS in a web-app wasn't closing some of the DOM created components. I assumed it meant something like this but was looking for a more in depth explanation.
oops forgot to say thanks at the end of that sentence.