EditComment() method
- Last UpdatedNov 26, 2024
- 1 minute read
The EditComment() method can only be called when at least one row is selected on the Utilization control's grid. Calling this method will open a dialog box that allows the editing of the comments for one or more reasons without changing anything else about the reason. The dialog box will show the current comments for the selected reason or the selected reasons if multiple reasons are selected and the comments are the same. If multiple reasons are selected and the comments are not the same for all, then the Comments field will contain <various> to let the user know that the selected reasons do not all have the same comments. The user can then edit the displayed comment and save it. If multiple reasons are selected, the new comments will be saved to each even if the reasons did not have the same comments initially.
Syntax
EditComment();