SitesMasstec
Programmer
Hello colleagues!
I have a Form which has a Container, with some objects.
The Container is not Visible, until the user right click in Page1 or ...Page5, then the Container becomes Visible:
In Page1...Page5, RightClick, I have the code:
It works well, if the user, after choosing an option in the ComboBox, clicks on button OK or Cancelar.
But I realized that the user can point the mouse to any other area of the Form! I want he/she must click on OK or Cancelar button.
Is it possible to limit the mouse movement only inside of the Container till the user click on OK or Cancelar button?
Thank you,
SitesMasstec
I have a Form which has a Container, with some objects.
The Container is not Visible, until the user right click in Page1 or ...Page5, then the Container becomes Visible:
In Page1...Page5, RightClick, I have the code:
Code:
this.Parent.Parent.cntRepetir.Visible= .T.
this.Parent.Parent.cntRepetir.cboOndeRepetir.SetFocus
It works well, if the user, after choosing an option in the ComboBox, clicks on button OK or Cancelar.
But I realized that the user can point the mouse to any other area of the Form! I want he/she must click on OK or Cancelar button.
Is it possible to limit the mouse movement only inside of the Container till the user click on OK or Cancelar button?
Thank you,
SitesMasstec