OnClickCreateHeaderFooter Event |
[Top] [Chapter] [Previous] [Next] |
Member of WPDLLInt Declaration C# OnClickCreateHeaderFooter(Object Sender, int Editor, int Kind, ref int Range);
Declaration OCX OnClickCreateHeaderFooter(ByVal Editor As Long, ByVal Kind As Long, Range As Long)
This event is triggered when the user clicks double into the top or buttom margin areas. You can use the variables Kind and Range if you want to create a new header or footer. VB Example: Private Sub WPDLLInt1_OnClickCreateHeaderFooter(ByVal Editor As Long, ByVal Kind As Long, Range As Long) If Kind = 1 Then WPDLLInt1.TextCursor.InputHeader Range, "", "" Else WPDLLInt1.TextCursor.InputFooter Range, "", "" End If End Sub
Category |