I didn't have much luck with sending "F" keys (or any special key) to the 
IDXTerm server as well.  I asked the question of the group a little while back 
and got this response:

This is the code we use.  We have not run into any issues.

Sub FunctionKey(skey As String)

Select Case UCase(skey)
    Case Is = "F1"
        Key Chr(27) & "[11{~}"
    Case Is = "F2"
        Key Chr(27) & "[12{~}"
    Case Is = "F3"
        Key Chr(27) & "[13{~}"
    Case Is = "F4"
        Key Chr(27) & "[14{~}"
    Case Is = "F5"
        Key Chr(27) & "[15{~}"
    Case Is = "F6"
        Key Chr(27) & "[17{~}"
    Case Is = "F7"
        Key Chr(27) & "[18{~}"
    Case Is = "F8"
        Key Chr(27) & "[19{~}"
    Case Is = "F9"
        Key Chr(27) & "[20{~}"
    Case Is = "F10"
        Key Chr(27) & "[21{~}"
    Case Is = "DOWN"
        Key Chr(27) & "[B"
    Case Is = "LEFT"
        Key Chr(27) & "[D"
    Case Is = "ESC"
        Key Chr(27)
End Select

This worked for sending the Arrow Keys, but not for any of the special keys.  
So I ended up using a special function call, in which I would connect to the 
IDXTerm emuluator window as a Windows connections, then send the special key 
(i.e. Key "{F1}") to the Windows connection.  I then re-connected to IDXTerm 
through the stream connection to continue processing.


Ryan Rush * OBS Development Specialist * Providence Health & Services
Providence Office Park


From: [email protected] [mailto:[email protected]]
Sent: Monday, November 16, 2009 11:33 AM
To: [email protected]
Subject: [talkbws] RE: IDXTerm F1 (Delete Line)

No -

Brian Stevenson | Systems Administrator
University Health System<http://www.universityhealthsystem.com/> | Business 
Information Services
8131 Pinebrook Drive | San Antonio, TX 78230
Office      | (210) 644 - 0212
Pager       | (210) 203 - 9851
Cell          | (210) 602 - 5792

From: [email protected] [mailto:[email protected]]
Sent: Monday, November 16, 2009 1:28 PM
To: [email protected]
Subject: [talkbws] RE: IDXTerm F1 (Delete Line)

Greetings,
Did Key "{F1}"not work?
Regards,
Thom

Thom C. Blackwell
Product Manager
Boston Software Systems
(866) 653-5105 ex 807
www.bossoft.com<http://www.bossoft.com/>

Sign up for my weekly 
webinar!<http://www.bostonworkstation.com/customer_center/special_events.aspx>

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential 
and may be privileged. It is intended for the addressee(s) only. Access to this 
E-mail by anyone else is unauthorized. If you are not an addressee, any 
disclosure or copying of the contents of this E-mail or any action taken (or 
not taken) in reliance on it is unauthorized and may be unlawful. If you are 
not an addressee, please inform the sender immediately, then delete this 
message and empty from your trash.


From: [email protected] [mailto:[email protected]]
Sent: Monday, November 16, 2009 2:17 PM
To: Talk
Subject: [talkbws] IDXTerm F1 (Delete Line)

Anyone know how to emulate the F1 for deleting a line in a comment field in 
IDXTerm?

Brian Stevenson | Systems Administrator
University Health System<http://www.universityhealthsystem.com/> | Business 
Information Services
8131 Pinebrook Drive | San Antonio, TX 78230
Office      | (210) 644 - 0212
Pager       | (210) 203 - 9851
Cell          | (210) 602 - 5792

---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
________________________________

CONFIDENTIALITY NOTICE: This communication is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is privileged, confidential, and exempt from disclosure under applicable law. 
If you are not the intended recipient, you are notified that any use, 
dissemination, forwarding, distribution, or copying of the communication is 
strictly prohibited. Please notify the sender immediately by e-mail if you have 
received this by mistake and delete this e-mail from your system. (University 
Health System)
---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
________________________________

CONFIDENTIALITY NOTICE: This communication is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is privileged, confidential, and exempt from disclosure under applicable law. 
If you are not the intended recipient, you are notified that any use, 
dissemination, forwarding, distribution, or copying of the communication is 
strictly prohibited. Please notify the sender immediately by e-mail if you have 
received this by mistake and delete this e-mail from your system. (University 
Health System)
---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

________________________________
This message is intended for the sole use of the addressee, and may contain 
information that is privileged, confidential and exempt from disclosure under 
applicable law. If you are not the addressee you are hereby notified that you 
may not use, copy, disclose, or distribute to anyone the message or any 
information contained in the message. If you have received this message in 
error, please immediately advise the sender by reply email and delete this 
message.


---
To post a message to this list, send mail to: [email protected]

You are currently subscribed as: [email protected]

Unsubscribe in the customer center on our website: 
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx

Reply via email to