LONG OnControlMouseEnter { get; set; } |
{ PDF object is supposed to be created } a1 := PDF.CreateJavascriptAction('app.alert("Mouse enter.")'); a2 := PDF.CreateJavascriptAction('app.alert("Mouse exit.")'); PDF.AddButton(10, 10, 60, 24, 'Button'); PDF.OnControlMouseEnter := a1; PDF.OnControlMouseExit := a2; PDF.SaveToFile('test.pdf', true);
// PDF object is supposed to be created long a1 = PDF->CreateJavascriptAction("app.alert('Mouse enter.')"); long a2 = PDF->CreateJavascriptAction("app.alert('Mouse exit.')"); PDF->AddButton(10, 10, 60, 24, "Button"); PDF->OnControlMouseEnter = a1; PDF->OnControlMouseExit = a2; PDF->SaveToFile("test.pdf", true);
// PDF object is supposed to be created long a1 = PDF.CreateJavascriptAction("app.alert('Mouse enter.')"); long a2 = PDF.CreateJavascriptAction("app.alert('Mouse exit.')"); PDF.AddButton(10, 10, 60, 24, "Button"); PDF.OnControlMouseEnter = a1; PDF.OnControlMouseExit = a2; PDF.SaveToFile("test.pdf", true);
' PDF object is supposed to be created a1 = PDF.CreateJavascriptAction("app.alert('Mouse enter.')") a2 = PDF.CreateJavascriptAction("app.alert('Mouse exit.')") PDF.AddButton 10, 10, 60, 24, "Button" PDF.OnControlMouseEnter = a1 PDF.OnControlMouseExit = a2 PDF.SaveToFile "test.pdf", true