General information
Category:
Forms & Form designer
Hi Allan.
>> In my app, I have a borderless, captionless 'form' that serves as the background in the main screen of my app. This form (form1) contains a few read-only textboxes and the application logo. I'd like to be able to call the refresh method of this form (form 1) from another form (form2). I'm not sure how to do this - any ideas? <<
How about this: in the init of Form1, put code like this:
_Screen.AddProperty( 'oMainForm', This )
and add this code in the destroy of form1
_Screen.oMainForm = .NULL.
Then, whenever you need to reference form1, all you need to do is refer to _Screen.oMainform.
Marcia
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only