[Gambas-user] Issue 576 in gambas: TextBox.Select not reliable

gambas at ...2524... gambas at ...2524...
Wed Nov 5 12:01:55 CET 2014


Updates:
	Status: Accepted

Comment #1 on issue 576 by benoit.m... at ...626...: TextBox.Select not  
reliable
https://code.google.com/p/gambas/issues/detail?id=576

It seems to be a weird behaviour of Qt. When you set the text, the  
selection is cleared and the cursor is moved to the end of the line. But  
apparently this is not done always immediately, but sometimes later in the  
event loop! So, of course, in that case, your own selection is erased.

A workaround is adding a "WAIT" instruction to run the event loop just  
after having set the text and before changing the selection. But this is  
not a long-term solution...


-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list