Article View: alt.comp.lang.vba
Article #3Re: determing which frame a component is placed on
From: Rick Rothstein
Date: Thu, 07 Aug 2003 13:06
Date: Thu, 07 Aug 2003 13:06
28 lines
3182 bytes
3182 bytes
> 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? If I understand you correctly, you can select the Frame that the control is on (or that you think its on) and either press Ctrl+J or select Format/Order/BringToFront from VB's menu. > 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? After renaming the controls, **remove** (that is, delete) the number in the Index property. Rick - MVP
Technical Details
Message-ID:
<V9ucnbUYAqBY06-iXTWJiQ@comcast.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!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: 110e3b,dcd0afba46c1c50c X-Google-Attributes: gid110e3b,public X-Google-Thread: 10b213,dcd0afba46c1c50c X-Google-Attributes: gid10b213,public X-Google-Thread: 113d8f,dcd0afba46c1c50c X-Google-Attributes: gid113d8f,public X-Google-Thread: 109fdd,dcd0afba46c1c50c X-Google-Attributes: gid109fdd,public X-Google-Thread: 10b392,dcd0afba46c1c50c X-Google-Attributes: gid10b392,public X-Google-ArrivalTime: 2003-08-07 06:06:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 07 Aug 2003 08:06:13 -0500 From: "Rick Rothstein" <rickNOSPAMnews@NOSPAMcomcast.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 References: <FzrYa.53239$9C6.3177735@wards.force9.net> Subject: Re: determing which frame a component is placed on Date: Thu, 7 Aug 2003 09:06:15 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <V9ucnbUYAqBY06-iXTWJiQ@comcast.com> Lines: 30 NNTP-Posting-Host: 68.44.195.238 X-Trace: sv3-kBpjsWgSJzQ93Qn2XB/LaiNo4Pz8DoKy/RoFfN5SfikF6PkivTMmoPa5shko+qlesu6BvNv94vytc8e!v+orKRa7MUAtrRGJNlXcTSlcmSLCMnRzxqS3mCrFxth/lIUpJ2gmCkOyahotKQ== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1