[Gambas-user] Disable right click popup menu of textbox

Bruce adamnt42 at gmail.com
Thu Oct 1 12:35:34 CEST 2020


On 1/10/20 1:48 pm, T Lee Davidson wrote:
> To make a Change event work:
> 1) Leave the line that creates the TextBox as: $hText = New 
> TextBox($hContenedor) As "CajaTexto"
> 2) In the clastextbox class header, add: Event Change()
> 3) Implement an event handler in the class for the CajaTexto_Change() 
> event:
> Public Sub CajaTexto_Change()
>    Raise Change()
> End

and exposing the inner textbox text may come in handy too!
b


More information about the User mailing list