the following code works fine in Windows but does not work under Linux with gtk2.
procedure TForm2.Memo1DblClick(Sender: TObject); begin selection := memo1.SelText; modalresult := mrok; end; selection is string property. using 0.9.23 svn 11352 on both It appears the seltext property is not getting set under Linux when the mouse is over an item and double clicked. I've even tried highlighting the text in the Tmemo and double clicking. it appears the selection is removed, prior to the double-click event running. Jeff Steinkamp - N7YG Tucson, AZ SCUD Missile Coordinates N32-13-55.01 W110-50-51.91 http://n7yg.net http://home.earthlink.net/~jksteinkamp Linux User #420428 Skype : jeff.steinkamp _______________________________________________________ When you go into court you are putting yourself in the hands of 12 people that weren't smart enough to get out of jury duty. ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
