Property: OnInteractionLoading for Events <Navigator>
- Updated2024-09-12
- 2 minute(s) read
DIAdem NAVIGATOR > Properties > Property: OnInteractionLoading for Events <Navigator>
Property: OnInteractionLoading for Events <Navigator>
Specifies the name of the user command that DIAdem executes before executing a command which was called when data was dragged and dropped into the Data Portal.
Object.OnInteractionLoading
Object | Events <Navigator> Object with this property |
Object.OnInteractionLoading | String with read and write access |
The following command executes the user command MyInteractionLoading if you drag and drop data into the Data Portal. After loading the data into the Data Portal, DIAdem executes the user command MyInteractionLoaded which starts the Report wizard:
Call AddUserCommandToEvent("Navigator.Events.OnInteractionLoading","MyInteractionLoading") Call AddUserCommandToEvent("Navigator.Events.OnInteractionLoaded","MyInteractionLoaded") Sub MyInteractionLoading () Select Case MsgBoxDisp("Delete Data Portal before loading new data?","MB_YESNO",,2) Case "IDYes" Data.Root.Clear Case "IDNo" Call MsgBoxDisp("New data will be appended to existing data." & VBCrLf, "MB_NOBUTTON", "MsgTypeNoteNoIcon",, 3, TRUE) Case "IDCancel" Call MsgBoxDisp("Cancelled by user", "MB_NOBUTTON", "MsgTypeWarning",, 3) End Select End Sub 'MyInteractionLoading Sub MyInteractionLoaded () Call MsgBoxDisp("Open Report Wizard") Call WndOpen ("REPORT") Call WizardStart("WizChart","","PORTAL") End Sub 'MyInteractionLoaded
![]() | Note Use the AddUserCommandToEvent command to assign several user commands to one event. Use the RemoveUserCommandFromEvent command to delete a single user command from a list of user commands which you assigned to an event. Assign an empty string to an event so that the event is no longer assigned to a user command. |
See Also
Event: OnInteractionLoaded | Objects Overview
Procedures
Configuring the Search Results | Defining Search Areas | Executing a Search with OR Operations | Executing a Text Search | Indexing Search Areas | Optimizing Custom Properties | Saving and Loading a Search Query | Searching for Data on a Different Computer in the Network | Searching for Multiple Properties | Sorting Search Results before Executing a Search