I think what you're trying to do is relatively easy.  

When launched, the following grabs the Handle of the three windows in the
application and puts their Handles in three EditFields.  Copying the numbers
to another EditField (EditField4) and then clicking the PushButton causes
the window with the corresponding Handle to move to the front.

(RB 5.5.5)

Though I'm not sure this is what you're trying to do, here is my example,
just in case:


PushButton Action:
  Dim i as Integer
  
  If WindowCount > 1 then
    For i = 0 to WindowCount - 1
      If Window(i).Handle = Val(EditField4.Text) then
        Window(i).Show
      End If
    Next
  End If


Window1 Open Event:
  EditField1.Text = Str(Window1.Handle)
  EditField2.Text = Str(Window2.Handle)
  EditField3.Text = Str(Window3.Handle)

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to