Custom Whoa Extension Methods
- The following methods can be optionally customized (in db model
class modules, egclsTestCat)
custom_display_repr()
Defines the record’s string representation for display in listviews or dropdowns.
Stubbed automatically in default class module.
custom_get_listview_color()
Controls the background/row color for this record in a Generic ListView.
Return a Long color value (or PUBLIC_MISSING_INDEX_LONG to use default).
Stubbed automatically in default class module.
custom_get_web_edit_url()
Specifies a custom web URL to edit the record externally.
Return a string URL (empty string if unused).
Stubbed automatically in default class module.
custom_callback_edit_form(listview_form As UserForm, Optional unload_callback As clsPartialFunction)
Overrides the default double-click action from a Generic ListView.
Closes the listview form and launches a custom edit form (e.g. PromptExplorer) instead of the generic editor.
Not stubbed automatically — must be added manually to the model class.
Example:
1 2 3 4 5 6 7 | Public Sub custom_callback_edit_form(listview_form As UserForm, Optional unload_callback As clsPartialFunction) ' Unload Generic ListView form (most likely you want this) Unload listview_form ' Open some customized edit form (most likely this is why you are overriding this method) Call AppForms.OpenForm_PromptExplorer(Me.name, unload_callback) End Sub |
<< Model Field Types
No Next Page