|
-
Jul 9th, 2002, 05:19 PM
#3
Addicted Member
One way is to declare a reference to the type of control in a Module as public. Then in form1 set the reference then you can use the reference in form2. ie
In a module declare
Public grdData as datagrid 'Declare the reference
In form1 set the reference
grdData = MyDataGrid 'MyDataGrid is the control on form1
Then on form2 you will have access to all the properties of MyDataGrid by just using grdData
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|