DETECTURL Property
9.0B, PLBCMP GUI Only
The DETECTURL property controls the state of URL detection logic. The property uses the following format:
DETECTURL={value}
Note the following:
DETECTURL may be used in CREATE, SETPROP, or GETPROP statements for RICHEDITTEXT objects.
If DETECTURL is enabled, the rich edit control scans any modified text to determine
whether the text matches the format of a URL. The control detects several URL formats including the following
formats:
http:<text with no whitespace>
file:<text with no whitespace>
mailto:<text with no whitespace>
ftp:<text with no whitespace>
https:<text with no whitespace>
gopher:<text with no whitespace>
nntp:<text with no whitespace>
prospero:<text with no whitespace>
telnet:<text with no whitespace>
news:<text with no whitespace>
wais:<text with no whitespace>
If a URL is detected and highlighted, the Change Event is triggered.
{value} is a decimal number, a Numeric
Variable, an Expression,
or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Any text entered into the object ... |
|
0 |
$OFF |
is not examined. (default) |
|
1 |
$ON |
that is determined to be a Uniform Resource Locator is formatted as a link. If a left mouse button is pressed while over a link, the $LINKCLICK event will occur. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |