cancel
Showing results for 
Search instead for 
Did you mean: 

Tab key and lookup table

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

I'm not 100 % sure that I understand your requirement, but if you want to launch a CFL on a system form using UIAPI, just click on it:

frm.Items.Item("67").Click

If you want to add a CFL button on your form then check this:

HTH

Juha