Prev: touchpad programming
Next: Visual Basic.net
From: David on 28 Apr 2010 10:31 A form can be Modal. Menus also appear to be Modal. Is there anyway to create an object and make it modal (independent) of the form or any control on the form?
From: Bob Butler on 28 Apr 2010 10:50 "David" <NoWhere(a)earthlink.net> wrote in message news:e$WMI%23t5KHA.6052(a)TK2MSFTNGP02.phx.gbl... >A form can be Modal. Menus also appear to be Modal. > > Is there anyway to create an object and make it modal (independent) > of the form or any control on the form? I think you need to elaborate on what you are trying to do. 'Modal' is not a synonym for 'independent'. What kind of object are you looking to create and what do you mean by making it independent of the GUI objects?
From: Nobody on 28 Apr 2010 10:58 "David" <NoWhere(a)earthlink.net> wrote in message news:e$WMI%23t5KHA.6052(a)TK2MSFTNGP02.phx.gbl... >A form can be Modal. Menus also appear to be Modal. > > Is there anyway to create an object and make it modal (independent) > of the form or any control on the form? As Bob said, your question is not clear, however, try searching the newsgroups for "vb topmost".
From: Dee Earley on 28 Apr 2010 11:28 On 28/04/2010 15:31, David wrote: > A form can be Modal. Menus also appear to be Modal. > > Is there anyway to create an object and make it modal (independent) > of the form or any control on the form? I assume you mean a singleton, where only one instance can exist at a time? A single global variable or maybe a factory function that creates one if needed and just returns the same instance. -- Dee Earley (dee.earley(a)icode.co.uk) i-Catcher Development Team iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.)
From: Jeff Johnson on 28 Apr 2010 11:37
"David" <NoWhere(a)earthlink.net> wrote in message news:e$WMI%23t5KHA.6052(a)TK2MSFTNGP02.phx.gbl... >A form can be Modal. Menus also appear to be Modal. > > Is there anyway to create an object and make it modal (independent) > of the form or any control on the form? Modal means that when the given object is activated, no object in its parent hierarchy will be responsive to either mouse or keyboard input. Only forms are truly modal; menus are semi-modal. You cannot make controls modal. Ever. |