Skip to Content
author's profile photo Former Member
Former Member

Tab key and lookup table

Hi,

How to use the 'Tab' key to open a lookup table, E.g. BP Code, Name?

Alternatively, how to use the 'Tab' key to call a formatted search? I hope to follow the standard in SBO and do away the Shift-F2.

I am using VB and 2004B. Your input will be appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 03:51 PM

    I think you can mimic every user action with UIAPI.

    Therefore, e.g. in Sales Order Form you activate the BPCode item (.Click) and hit Tab (.SendKeys(vbTab)).

    You could also try clicking the the iconitem ("67") next to BPCode.

    If you want to assign a Choose From List (CFL) to an item of your choice using UIAPI then you should wait for 2005.

    Shift-F2 is standard in SBO UI for launching FSs, why would you like to disable it?

    If you want to enable tabbing to kick-off an existing FS, then you should capture the tabbing event (et_KEY_DOWN) in your item and then use SendKeys for sending Shift-F2 to keyboard.

    HTH

    Juha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2005 at 11:21 AM

    Juha,

    How do I attach the IconItem("67")?

    We are using 2004B and not sure when will we get the 2005. We are trying to accomplish a CFL on UDO form.

    We want to follow the standard Tab and CFL in system form and, not totally disabling Shift-F2. I think your last para is a good suggestion. I'll test it out and keep you posted.

    Thanks. 😊

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.