General information
Category:
COM/DCOM and OLE Automation
because i already have my first READ EVENTS in my main program. the READ EVENTS in the following statement will not show "myform1":
myform1 = newobject('clsform','classprg.fxp')
myform1.show()
READ EVENTS && the form just flashes (show up then hide immediately)
erik
>I'm not sure I understand. Yes a second read events doesn't have any effect.
>oForm.Show shows the form. You could supply parameters to Show to make it >behave as modal oForm.Show(1)
>Cetin
>>cetin,
>>i have one READ EVENTS in my main program, it begins a "listening" routine and continues until it sees a CLEAR EVENTS. the READ EVENTS is in the main program after the user logs in and the CLEAR EVENTS is on the toolbar's exit button. i understand that any READ EVENTS encountered while there is one already active has no effect:
>>
>>myform1 = newobject('clsform','classprg.fxp')
>>myform1.show()
>>read events && will have no effect
>>
>>how do we make our myform1 to show up? or how do we make the main program to pass the 'listening' on our second READ EVENTS, then after we close the myform1, the listening comes back to the main program?
>>
>>* it should not be modal :)
>>
>>erik
>>
>>
>>>myform1 = newobject('clsform','classprg.fxp')
>>>myform1.show()
>>>read events && Don't forget to have a clear events (exit button, >>>queryunload ...)
>>>
>>>Cetin
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