You might, for example, add the following code (as a continuation of the code I posted before) in the UIEnable event of the button you've instantiated the container from (rightclicking on it)
if !lEnable
with thisform
if TYPE('.oMyCont.Name') = 'C'
.oMyCont.cmdClose.Click
endif
endwith
endif
Previous
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