[Gambas-user] How top clearing a readonly textbox

gian bagoneo at libero.it
Sat Nov 26 23:42:33 CET 2022


Il 26/11/22 18:37, Fabien Bodard ha scritto:
> Easy
> 
> Create a class named TextBox
> 
> In it just add
> 
> Public Sub Clear()
> 
>    If not super.ReadOnly then Super.Clear
> 
> End
> 
> This override the TextBox.Clear function as you want


Hi Fabien,

Sorry for the late reply and guess what, I didn't understand how it 
should be done.
It doesn't work for me :-(

If you feel like explaining it you have all the time you want because I 
am going to sleep now. :-)

Good night and thank you

Gianluigi



More information about the User mailing list