[Gambas-user] Unselect text of TextBox

Fabien Bodard gambas.fr at gmail.com
Fri Oct 5 19:04:34 CEST 2018


You can report for unselect that does not work at all

for your case use this :

Public Sub TextBox1_GotFocus()

  TextBox1.Select(0, 0)

End


Le ven. 5 oct. 2018 à 15:05, Gianluigi <bagonergi at gmail.com> a écrit :

> Hi Fabien,
> should I report it as a bug?
>
> Regards
> Gianluigi
>
> Il giorno gio 4 ott 2018 alle ore 17:19 Fabien Bodard <gambas.fr at gmail.com>
> ha scritto:
>
>> Unselect it on gotfocus Event
>>
>> Le jeu. 4 oct. 2018 17:14, Gianluigi <bagonergi at gmail.com> a écrit :
>>
>>> Does anyone know a way in QT to avoid that on Shift+Tab the text of the
>>> TextBox is selected?
>>> See attached test.
>>>
>>> Regards
>>> Gianluigi
>>>
>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>


-- 
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181005/9fd1417a/attachment.html>


More information about the User mailing list