Hi all,
Nettalk 8.61
Clarion 10.0.11897
On mobile only; even though I have my locator set to have focus (Default focus to Locator is checked on), when I enter my browse, my locator does not have focus. I have a default sort order set on my customer_name field.
If I click on a header, the sort changes, and then the locator automatically gets focus. I've been round and round with debugging, and for the life of me can't figure out why this isn't working in mobile. In the desktop site; the locator properly gets focus from the start.
Here are my debug lines:
This is the initial loading of the browse:
1 10:59:59.534 2068 E360Mobile.exe [st] [netTalk][thread=1] ThisWebServer.AddLog PROCEDURE(String p_Data,<string p_ip>)
2 10:59:59.535 2068 E360Mobile.exe [st] [netTalk][thread=1] Adding the request to the Queue, and File, at this point
3 10:59:59.539 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers: Event: Generate
4 10:59:59.553 2068 E360Mobile.exe E360Mobile: SetSortHeaderStart
5 10:59:59.553 2068 E360Mobile.exe E360Mobile: Customer ID: 905
6 10:59:59.553 2068 E360Mobile.exe E360Mobile: After BrowseHeader
7 10:59:59.553 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
8 10:59:59.554 2068 E360Mobile.exe E360Mobile: After Browse Table
9 10:59:59.554 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
10 10:59:59.575 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers :: Order: -UPPER(cus:customer_name),cus:customer_id
11 10:59:59.575 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers :: Filter: SQL(company_id = 4 AND customer_name <> '' AND (customer_type <> 'HOUSE' OR customer_type IS NULL))
12 10:59:59.669 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
13 10:59:59.669 2068 E360Mobile.exe E360Mobile: Customer ID: 905
14 10:59:59.673 2068 E360Mobile.exe E360Mobile: AfterBrowseOutside <Form>
15 10:59:59.673 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers END Event=
16 10:59:59.675 2068 E360Mobile.exe [st] [netTalk][thread=3] ThisWebServer.AddLog PROCEDURE(NetWebServerWorker p_web)
This is after I click on the header:
17 11:00:11.649 2068 E360Mobile.exe [st] [netTalk][thread=1] ThisWebServer.AddLog PROCEDURE(String p_Data,<string p_ip>)
18 11:00:11.649 2068 E360Mobile.exe [st] [netTalk][thread=1] Adding the request to the Queue, and File, at this point
19 11:00:11.654 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers: Event: SortChanged
20 11:00:11.656 2068 E360Mobile.exe E360Mobile: SetSortHeaderStart
21 11:00:11.656 2068 E360Mobile.exe E360Mobile: Customer ID: 905
22 11:00:11.656 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
23 11:00:11.656 2068 E360Mobile.exe E360Mobile: After Browse Table
24 11:00:11.657 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
25 11:00:11.657 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers :: Order: UPPER(cus:customer_name),cus:customer_id
26 11:00:11.657 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers :: Filter: SQL(company_id = 4 AND customer_name <> '' AND (customer_type <> 'HOUSE' OR customer_type IS NULL))
27 11:00:11.742 2068 E360Mobile.exe [st] [netTalk][thread=3] GetLocatorValue clearlocator=0
28 11:00:11.743 2068 E360Mobile.exe [st] [netTalk][thread=3] Customers END Event=sortchanged
29 11:00:11.744 2068 E360Mobile.exe [st] [netTalk][thread=3] ThisWebServer.AddLog PROCEDURE(NetWebServerWorker p_web)
I saw a message about this a while ago; but I never saw a solution.
Joe.