Article View: alt.comp.lang.vba
Article #2Re: determing which frame a component is placed on
From: David Segall
Date: Thu, 07 Aug 2003 13:05
Date: Thu, 07 Aug 2003 13:05
29 lines
2924 bytes
2924 bytes
Posted and emailed: "michael gois" <mikey@gois.net> wrote: >Hi >I am building an application which uses several frames, and then frames >inside frames, but not all appearing at the same time. >The problem is that i am now finding sometimes controls which i created and >have no idea where which frame they have been placed on. I can see the >controls in the properties box, but obviously if i dont have the frame on >the screen or if there are frames on top of it, i cannot see the control. >Is there a way to find out what frame a component has been placed on? > >Also, on a slightly different note, sometimes I create a control array, but >then decide its best to just have the controls as individual items. I >rename the control to a name that isnt a control array, but it still remains >an array, and i still have to refer to it as mycontrol(i) as opposed to >mycontrol. Anyone know how to reset a control to be out of a control array? > >Thanks > >Michael > I have been in a similar situation and wrote a program which prints the hierarchy of controls on a .frm file by indenting each control name which is contained in another one. The program, which I named VBClerk, has some understanding of VB syntax and also contains separate routines to insert error processing and to resize a form. Send me an email and I will send you the VB source code of the program.
Technical Details
Message-ID:
<tvi4jvcn96d9736a4sfg5d887qjcb47863@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!guardian.oit.duke.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mailReferences:
<FzrYa.53239$9C6.3177735@wards.force9.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d8f,dcd0afba46c1c50c X-Google-Attributes: gid113d8f,public X-Google-Thread: 110e3b,dcd0afba46c1c50c X-Google-Attributes: gid110e3b,public X-Google-Thread: 10b392,dcd0afba46c1c50c X-Google-Attributes: gid10b392,public X-Google-Thread: 109fdd,dcd0afba46c1c50c X-Google-Attributes: gid109fdd,public X-Google-Thread: 10b213,dcd0afba46c1c50c X-Google-Attributes: gid10b213,public X-Google-ArrivalTime: 2003-08-07 06:06:09 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!guardian.oit.duke.edu!newsfeed.mathworks.com!lon-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!53ab2750!not-for-mail From: David Segall <david@segall.net> Newsgroups: alt.comp.lang.vba,cn.bbs.comp.lang.visual-basic,comp.lang.basic.visual.misc,microsoft.public.vb.controls,microsoft.public.vb.controls.creation Subject: Re: determing which frame a component is placed on Organization: Profectus Pty Ltd Message-ID: <tvi4jvcn96d9736a4sfg5d887qjcb47863@4ax.com> References: <FzrYa.53239$9C6.3177735@wards.force9.net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 30 Date: Thu, 07 Aug 2003 13:05:39 GMT NNTP-Posting-Host: 144.132.13.46 X-Complaints-To: abuse@bigpond.net.au X-Trace: news-server.bigpond.net.au 1060261539 144.132.13.46 (Thu, 07 Aug 2003 23:05:39 EST) NNTP-Posting-Date: Thu, 07 Aug 2003 23:05:39 EST