|
|
|
|
- Default events
- Associating a local procedure with a supercontrol
- Optional events
- Overview
- Optional event: Start of scrolling
- Optional event: While scrolling
- Optional event: End of scrolling
Events associated with supercontrols
Associating a local procedure with a supercontrol To create a procedure local to the supercontrol: - Display the supercontrol description.
- Click the "Add" button found below the "Local procedures" control. A new procedure is created.
- Click the "Code" button to edit the procedure code.
Tip: To create local procedures linked to the supercontrol, you can perform the following operations: - Select your window (or page) and the supercontrol in the "Project explorer" pane.
- Click the black arrow found beside the supercontrol name in the project explorer. The local procedures appear.
- Select "Local procedures". The local procedures displayed are the ones of supercontrol. You have the ability to add, rename or delete local procedures in the supercontrol.
Overview Several optional events can be managed. To add an optional event: - Select the desired control.
- Display the code window of this control (F2 key).
- Click the link "Add other events to xxx" at the bottom of the window code, after the last event.
- All the optional events available for the control are displayed.
- Check the optional event to add and validate.
Remark: You can select several optional events. - The selected optional event is automatically added to the events managed by the control.
To disable an optional event, simply perform the same operations to display the list of optional events. Then simply uncheck the optional events to delete. Remark: If the disabled code contains WLanguage code, this code is automatically deleted. You can manage, for example: - the mouse hover over the control,
- left mouse button down, up, double click,
- right mouse button down, up, double click,
- the mouse wheel, etc.
Optional event: Start of scrolling Executed at the start of the vertical scrollbar of the superfield, used to scroll the content of the superfield (case where the content of the superfield is larger than the size of the superfield). Reminder: The ScrollbarPosition function allows to know the position of the elevator. Optional event: While scrolling Executed when scrolling the superfield vertical scrollbar, used to scroll the superfield content (case where the superfield content is larger than the superfield size). Reminder: The ScrollbarPosition function allows to know the position of the elevator. Optional event: End of scrolling Executed at the end scrolling of the superfield vertical scrollbar, used to scroll the content of the superfield (case where the content of the superfield is larger than the size of the superfield). Reminder: The ScrollbarPosition function allows to know the position of the elevator.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|