Prev: How do I determine if the FormHeader has focus in a continuous form ?
Next: Stlinkcriteria when opeining report
From: Salad on 28 Jul 2010 11:35
Greg (codepug(a)gmail.com) wrote:
> In a continuous form, I capture the keydown event to determine if the
> Del key was pressed. I have a routine that processes the Delete as I
> see fit.
> However, if the user is in a control in the Form Header, I do not want
> the del Key
> How do I determine if the forms header has control ? This may solve my
I created a function
Private Function Junk()
MsgBox Me.ActiveControl.Name & " " & Me(s).Tag
Then I selected the controls for the header and selected the property
sheet and set the tag to "Header". Then set the GotFocus event to
IOW, I suppose one could check the control's tag. This is an option,
others may have a better method.