Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to highlight a field?

Hi,

I have made a form containing option buttons, edit text with calendar, and edit text with combo box.

My form only serves to pass parameters to various stored procedures and to run crystal reports which use these parameters.

When I run my form, I notice that the "From" field is highlighted yellow.

I would like to highlight the Warehouse/Project field instead.

This is because all the fields (in boxes) are optional.

So, if the user does not change the defaults, the default parameters are used.

However, the Warehouse/Project field is mandatory, and the user has to pick up a value from the combo box.

So, I think it's a good idea to have this field highlighted rather.

----

Can anybody suggest how I can achieve this?

Thanks

Leon Lai

replied

Hi Leon,

Two options.

1. In the screen painter/B1Studio, set the Tab Order (this is similar to VS tab order)

2. After your form finished initializing, set the oForm.ActiveItem property to the Warehouse textbox UID

Regards

Edy

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question