Dropping a text file on a canvas of an RB app leaves the focus with the OS filemanager when running on Linux. Is this correct?
This code is in the DropObject event of the canvas: (RB2006r2 Linux) Dim f as FolderItem Dim Incoming as TextInputStream f=obj.FolderItem Incoming=f.OpenAsTextFile Statictext1.text=Incoming.ReadAll MsgBox "OK" I launch the app and drag a text file to the canvas. The text appears in the StaticText, but the MsgBox does not appear. If I then click the RB app, the MsgBox appears? With the same code, using RB5.5.5 Mac, the message box appears and the StaticText displays the text from the file after the message is dismissed. Is the difference due to different UI standards on the two platforms? What I actually need to do is have a ModalDialog window show up asking for a password when the text is dropped using Linux. (the statictext won't be there. It is just for testing - I'm testing with MsgBox, but a ModalDialog acts the same. Other types of windows open, but still leave the focus on the file manager window.) If the window doesn't open, there is no indication that anything has happened and no indication that the user must click the window to continue. Is there a way to get the focus back to the RB app after a drag from a file manager window? Mepis Linux, KDE, RB2006r2, 2.4GHz Pentium IV, 512Gb. DJ _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
