Having a senior moment: can someone refresh my memory or point to the relevant section in the docs when I have to return true or false for a menu handler?
I’m working on 64bit which seems to react differently to EnableMenuEvents. “Select All” should select text when the detail controls have the focus:
[code]'select the text if the current control is an editfield or an html viewer
if self.Focus isA V4RB_EditField then
dim currentRectControl as V4RB_EditField = V4RB_EditField(self.Focus)
currentRectControl.SelectAll
Return True
ElseIf self.Focus isA HTMLViewer then
HTMLViewer1.mainFrameMBS.frameView.documentView.selectAll
Return True
end if
Return False[/code]
When I set a breakpoint in this code the debugger stops. When the detail controls don’t have the focus the listbox should react for “Select All”. When I set the breakpoint there the debugger doesn’t stop.