Lance J Nethery 27.Nov.11 11:53 AM a Web browser Approach9.8All Platforms
The function keys don't seem to work.
I have an APR file which was created in SS97 and opening it in 9.8.1 seem to be just fine, except for the above problem.
I am in a form which contains a repeating panel.
Within the repeating panel is a field called Notes. (Nothing to do with Lotus Notes, just a coincidence)
Notes is a Text field of length 200.
When I click on Edit, Script & Macros, Macros,
the macro "1ST LIFETIME" is highlighted
I click on "Covert to Script".
When I open the Script Editor, we can see the F2 script under "Globals". The script is as follows:
Sub F2
Sendkeys "99 days ... 1st lifetime",True
End Sub
When I get out of the Script Editor and I go to back to the form and the repeating panel and the field Notes (in Browse), pressing F2, Approach shudders slighty as if it is trying to do something, but nothing is entered in the Notes field.
I kill the 1ST LIFETIME (F2) macro, get out of there and back to the repeating panel, pressing F2 on the Notes field, Approach DOES NOT SHUDDER, but nothing appears in the Notes field.
So it looks like the shudder happens because Approach is trying to execute the F2 macro.
This is not a Teach LotusScript forum and I am just starting out in LotusScript, but how do I attach my script to the F2 key?