Returns the modul name of the currently active registration.
Returns:
Type |
Value |
Description |
||||||
String |
name |
Name of active Link modul, currently shown in WindowLink. With GetActiveLinking we can determine the currently active linking (registration).
Example: A return string of link_adr_evt indicates a seminar registration, i.e. the linking of address (adr) and event (evt).
Possible return strings:
|
Available in:
WindowMain |
WindowLink |
No |
YES |
Used in:
XojoScript Name |
GUID |
Edit Registration |
89F9973D-C3A4-4466-BAE7-8AE85115AE09 |
Hint: You can find more references to XojoScripts which make use of this function by sending the following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%GetActiveLinking%'
Example XojoScript:
// WindowLink.imLinkPushButtonEditSave
If IsLinkMode = 1 then
' Running Script AFTER LinkMode was set.
// Run this code only if we are doing a seminar registration
If GetActiveLinking = "link_adr_evt" Then
// Write your code here
End If // GetActiveLinking = "link_adr_evt"
Else
'MsgBox "Running Script AFTER saving and returning to ViewMode."
End If