WPCubed Product Support

Suggestion for WPSymbolDlgEx control

When using a WPSymbolDlgEx control and UseOKButton is set to false, I'd like a double-click of the grid to use that char and close the dialog without having to click the OK button. EditBox is not set, and NotAttachedToEditBox is set to true.

I added the following to my copy of the dialog in the TWPSymbolDialogEx.CharacterGridDblClick event which satisfies my needs:

if not dlg.UseOKButton then ModalResult := mrOK;

IMHO, it seems like a desirable usage when UseOKButton is false, so thought I'd ask for this enhancement to be added so that I won't have to add similar code on every update.

Thanks,

Eric

#1 ♥ 0
3.4k Views 2 users read 1 min
This category is archived. No new posts are possible.