On Mar 9, 2007, at 4:50 PM, Peter E. Barck wrote:

> Hi,
>
>      I am looking for a way to find the count of Controls in a
> ContainerControl (EmbeddedWindowControl). Then I need a way to access
> these controls similar you do it in standard window using
> RectControl(Window.Control(Index)).   I need to scale them on the fly.

It would be done similar to a window, as you say. For example, from a  
pushbutton within the ContainerControl:

   dim Count as integer = self.ControlCount

   For i as integer = 0 to Count - 1
     If Control(i) IsA RectControl then
       RectControl(Control(i)).Width = RectControl(Control(i)).Width  
+ 30  //for example
     End
   Next

Best,

Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to