Re: I've Lost Control !!!

From: Jezebel (dwarves_at_heaven.com.kr)
Date: 10/22/04


Date: Fri, 22 Oct 2004 15:44:20 +1000

You've possibly moved them way off view, like with negative top and left
values. You can find them again this way:

Display the form in VBA. Display the Properties dialog (press F4). In the
drop-down at the top of the dialog, select one of the 'missing' controls
such as Frame2.

Set Top and Left to 0 to move the control back to visible territory.

"Geoff" <geoff@nospam.com> wrote in message
news:Ofiwul7tEHA.3088@tk2msftngp13.phx.gbl...
> Hi!
>
> I think I wasn't quite careful enough with the mouse (boy it's
> sensitive!) and ended up creating a duplicate set of controls on my
> user form. I know they exist because they're listed in the VBA editor
> drop-down list. I want to delete them but I cannot locate them
> visually on screen in design mode. I've moved all controls I can see
> out of the way, in case the offending controls are hiding, but no luck
> there!
>
> I've discovered that Label1 is in Frame2, with the following code:
>
> Debug.Print UserForm1.Label1.Parent.Name
>
> But I cannot locate Frame2.
>
> Q1 - How can I locate and delete controls when I can't see them in
> design mode?
>
> Q2 - Can I open a form in design mode using VBA and permanently delete
> controls that way?
>
> TIA
> Geoff
>
>
>



Relevant Pages

  • Re: Storage of html markup code in database
    ... UIs may include reports and database management tools, ... The details of your desired HTML-encoding may change over time. ... may also differ between display locations within your application. ... While it's unfortunate that the built-in controls are not ...
    (microsoft.public.dotnet.security)
  • RE: Display a record - several questions
    ... ObjectDataSource set up to get the correct record on a select. ... sub controls in the certain tepmlate and modify them. ... How do I display a RadioButtonList and CheckBox value where it is ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Kneisner and Doering KWZ30-2
    ... The controls of the KWZ-30/2 are much more comfortable than the controls of ... colour display with a resolution of 320 x 240 pixels. ... passed though a low pass filter, a switchable high pass filter and an ... mixers are followed by two A/D-converters with a dynamic range of 120 dB. ...
    (rec.radio.shortwave)
  • Re: Is it a habit we prefer mechnical instruments?
    ... Converting the display to a form fit for human consumption ... graphics on standard PC using C++, and you can see the difference. ... simulator that is rendered by a digital display showing analog ... controls are rendered digitally. ...
    (rec.aviation.homebuilt)
  • Re: Create Dynamic Controls and Displaying Page by Page on the for
    ... My computer is client and other is server. ... I want to display all recevied values for parameters ... > I'm saying this because dynamically creating a few thousand controls might ... >> row data format will be same. ...
    (microsoft.public.vsnet.general)