PC Review


Reply
Thread Tools Rate Thread

Control : eight squares surrounding it at design view

 
 
michel
Guest
Posts: n/a
 
      31st Aug 2003
Hello,

In design view, when you click on a control or a label or any objects on a
form or report, the concerned object is surrounded by eight small square
around the control.

Does anyone knows how to do it through code ? .. meaning that when such a
procedure is trigger, it would be like you click on a control in design view
and the eight squares appear.

I tried .selectobject but the squares do not appear also the object is
selected.

I am trying to solve this issue since a few days and any help would be
welcomed.

Thanks in advance

Michel




 
Reply With Quote
 
 
 
 
michel
Guest
Posts: n/a
 
      31st Aug 2003
Ouahh! !! Many, many thanks. I was not aware of this property.

Michel

"Geoff" <(E-Mail Removed)> a écrit dans le message de
news:bisqjm$2ql$(E-Mail Removed)...
> Hi Michel
>
> Open the form or report (in code) in design view,
> set an object variable = to the control you want
> to put handles on, and then set the variable's
> inselection property to true, eg
>
> Dim frm As Form
> Dim ctl As Control
>
> DoCmd.OpenForm "Form1", acDesign
> Set ctl = Forms(0).Controls("lblMyLabel")
> ctl.InSelection = True
>
> Set ctl = Nothing
> Set frm = Nothing
>
> Geoff
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Surrounding a WPF control with arrows on four sides sundarvenkata Microsoft Dot NET Framework 2 20th May 2009 03:37 AM
problem with custom control in design view Andy Microsoft Dot NET Framework Forms 0 21st Aug 2007 02:19 PM
How to use customised control without breaking design view kelvin.koogan@googlemail.com Microsoft VC .NET 0 9th Jul 2007 03:59 PM
New control in form design view =?Utf-8?B?TWlndWVsIFZpdmFy?= Microsoft Access Getting Started 2 29th Nov 2005 09:06 AM
control boxes disapper in design view =?Utf-8?B?bWVpbGFuaQ==?= Microsoft Access Forms 0 3rd Mar 2005 04:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:17 PM.