On Monday 22 December 2014 12:41:55 misu kun wrote:
> thats good
> i think i found a bug about text selection
> to reproduce
> 1 - create tstringedit and tbutton
> 2 - write 2 or 3 words in tstringedit
> 3 - select one word in tstringedit
> 4 - press button
>
> the whole text becomes selected !
>
This is as designed, clicking a button calls rootwidget.canparentclose() which 
terminates editing, same as by pressing enter. The purpose is that the 
onexecute handler of the button sees the actual edit values in value 
properties. It can be inhibited by activating tbutton.options 
bo_nocandefocus.

Martin

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to