This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C5A28A.658070B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am just experimenting with this command. On a form with an editbox and =
a commandbutton I have this code in the commandbutton click()
_CLIPTEXT =3D "Hello world"=20
ThisForm.Edit1.SetFocus()
SYS(1500, '_MED_PASTE', '_MEDIT')
thisform.Refresh()
The first time I click the button the edit cursor appears in the edit =
box but nothing else. Thereafter every time I click the commandbutton, =
the phrase appears as expected in the edit box, concatenating with the =
previous paste..
Can somebody explain why it doesn't appear the first time?
Many thanks
Stephen
------=_NextPart_000_0006_01C5A28A.658070B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am just experimenting with this =
command. On a=20
form with an editbox and a commandbutton I have this code in the =
commandbutton=20
click()</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>_CLIPTEXT =3D "Hello world"=20
<BR>ThisForm.Edit1.SetFocus()<BR>SYS(1500, '_MED_PASTE',=20
'_MEDIT')<BR>thisform.Refresh()</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The first time I click the button the =
edit cursor=20
appears in the edit box but nothing else. Thereafter every time I click =
the=20
commandbutton, the phrase appears as expected in the edit box, =
concatenating=20
with the previous paste..</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Can somebody explain why it doesn't =
appear the=20
first time?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Stephen</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0006_01C5A28A.658070B0--