Transfer ALL FORM Properties
Hi
The Scenario:
Two Forms - one "fully naked" (let us say this is Form2)
and one (Form1) "naked" but with a picture in and
in some ways modified by the API
(i.e. transparent and/or polygon shaped etc., etc.).
Now I want to transfer ALL properties from Form1 to Form2,
incl. All the API-modifications I’v made.
To say: SET Form2 = Form1 fails
but what can I do?
Do YOU have any good idea?
Thank you in advanced
Michael
Re: Transfer ALL FORM Properties
Just create Form1 at Design Time with all the API Modifications etc, then..
In a Module..
public MoreForms() as new Form1
public iForm as Integer
In a Button Click Event or WhereEver..
private Sub Command1_Click()
ReDim Preserve MoreForms(iForm)
MoreForms(iForm).Visible = true
iForm = iForm + 1
End Sub
Each New Moreforms() Created will have all the Code/Attributes of the Original Form1.. No Runtime Changes will be Inherited though.
Aaron Young
Analyst Programmer
[email protected]
[email protected]