I have a form that has a grid on it and it's rightclick method creates a popup and I want to clear that popup if the user clicks somewhere else on the form I have the below code elsewhere on the form:
IF POPUP('SHORTCUT')
RELEASE POPUP SHORTCUT
ENDIF
However, when the above code runs, it is .t. because the popup is defined, but it errors when the RELEASE line is run and returns with "Cannot Clear a popup that is in use."
How do I release the popup then?
THNKS
Tracy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"