on 02-10-2015 8:14 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edy
Thanks for your reply.
Unfortunately, I am still much a beginner and am not familiar with Screen Painter yet.
All my objects are done by code (gathered from SDK samples, forum, etc)
So, can I sort of "change my tab order" if I don't use screen painter?
Best Regards,
Leon Lai
---------
Sorry,
I think you have already provided the answer:
2. After your form finished initializing, set the oForm.ActiveItem property to the Warehouse textbox UID
I am trying it now
Thanks
-----------
Hi Edy
It works!
Best Regards
Leon
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.