Click to See Complete Forum and Search --> : Multiple Instance of Dailog Troubles Me


deep2000
June 20th, 2001, 10:48 AM
In My App I am using Multiple instance of a Dialog Box. BUT With Diff.Text
Ex : Text1.text=TimeWhenIgotCreated.
In My App Every 15 Sec I have to update these Dialog With Various Stats.

So the Form Name for all 4 Instance are same.
I know the Text1.text in all 4 instance. Can I change using that.

OR
CAN I GET WINDOWs Hangle/DC to check and modify One instance of the 4.

John G Duffy
June 20th, 2001, 05:04 PM
When you create the Instance of your DIalog, you should have been provided a handle to it which can be saved and refered back to at a later time. Small sample"

set mNewPage = new Page ' Create a new page
mColl.Add mNewPage ' Add page to a collection
'
' later to access this Instance

set ActivePage = mcoll(IndexNumber )
ActivePage.Textboxname.Text = "Updted Value"




John G