oki thanks, but it's not for an Editfield, it's for a HTML viewer.
Maybe with AppleScripts ?
On 10 août 06, at 16:22, Terry Ford wrote:
On Aug 10, 2006, at 5:57 AM, CV wrote:
On Aug 10, 2006, at 2:11 AM, dazz wrote:
heyøp
is there's a way to trigger the Edit Menu by code. like I want
to do Copy/Paste/Select All, by code
You can write code to do all of those functions if that helps. For
editfields:
//Select All:
EditField1.SelStart = 0
EditField1.SelLen = Len(EditField1.Text)
Error here: SelLen should be SelLength
//Copy:
dim c as new Clipboard
c.Text = EditField1.SelText
c.Close
//Paste:
dim c as new Clipboard
EditField1.SelText = c.Text
c.Close
There's also Editfield.Copy and Editfield.Paste.
Terry
_______________________________________________
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>
_______________________________________________
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>