forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowserLoadFailed.lcdoc
More file actions
41 lines (28 loc) · 998 Bytes
/
Copy pathbrowserLoadFailed.lcdoc
File metadata and controls
41 lines (28 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: browserLoadFailed
Type: message
Syntax: browserLoadFailed <pUrl>, <pError>
Summary:
Sent when the given URL fails to load.
Introduced: 4.5.3
OS: ios, android
Platforms: mobile
Example:
on browserLoadFailed pURL, pError
put "Failed to load" && pURL && "Error:" && pError into field "status"
end browserLoadFailed
Parameters:
pUrl:
The URL that failed to load.
pError:
The error message.
Description:
Handle the <browserLoadFailed> message to perform an action when a URL
fails to load in a native mobile browser created using
<mobileControlCreate>.
The <browserLoadFailed> message is sent to the object containing the
script that created the mobile browser control when a URL fails to load.
References: mobileControlCreate (command), mobileControlDelete (command),
mobileControlSet (command), mobileControlGet (function),
mobileControlTarget (function), mobileControls (function),
browserStartedLoading (message), browserLoadRequest (message),
browserFinishedLoading (message)