[Gambas-user] Selecting ValueBox content

Gianluigi Gradaschi bagonergi at gmail.com
Wed Sep 22 16:14:19 CEST 2021


Il 22/09/21 15:48, Safiur Rahman ha scritto:
> Hi
> 
> In previous gambas versions when ValueBox got focus its content was
> selected. That is not with current version. How can I get ValueBox
> content selected on GotFocus (similar as TextBox.Select() in TextBox)

Do you mean something like that?

   Dim htext As TextBox = ValueBox1.Children[0]

   ValueBox1.Value = 123456
   htext.SelectAll

Regards
Gianluigi



More information about the User mailing list