Download Control Reference

Total Page:16

File Type:pdf, Size:1020Kb

Download Control Reference IDEAL Software Programmer's Manual Control Reference Control Reference Virtual Print Engine Copyright ã 2019 IDEAL Software®. All rights reserved. www.idealsoftware.com [email protected] Information in this document is subject to change without notice and does not represent a commitment on the part of IDEAL Software. The software described in this document is furnished under a license agreement or nondisclosure agreement. The software may be used or copied only in accordance with the terms of the agreement. It is against the law to copy the software on any medium except as specifically allowed in the license or nondisclosure agreement. No part of this documentation may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose without the prior express written permission of IDEAL Software. IDEAL Software, the IDEAL Software logo, DYCODOC and Virtual Print Engine are registered trademarks, FieldStudio is a trademark of IDEAL Software, Neuss/Germany. Microsoft, MS, Windows, Visual C++, Visual Basic, Visual FoxPro, MFC, ActiveX and .NET are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries. Borland, the Borland Logo, C++Builder and Delphi are trademarks or registered trademarks of Borland Software Corporation in the United States and other countries. Adobe, Acrobat and PostScript are registered trademarks of Adobe Systems Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Contents 1 How To Use the VPE Control 1 1.1 Introduction....................................................................................................................................1 1.2 VPE .NET Control..........................................................................................................................2 1.2.1 Class Names and Namespaces ................................................................................................3 1.2.2 Exceptions .............................................................................................................................4 1.2.3 Understanding the Data Types and Declarations......................................................................4 1.2.4 Visual Basic .NET..................................................................................................................5 1.2.5 C# 7 1.3 VPE Java Control ...........................................................................................................................8 1.3.1 Exceptions ...........................................................................................................................10 1.3.2 Understanding the Data Types and Declarations....................................................................10 1.4 VPE ActiveX................................................................................................................................13 1.4.1 Where are the constants like 'VORIENT_PORTRAIT' defined? ............................................14 1.4.2 Important Note for Users of Visual Basic..............................................................................14 1.4.3 Understanding the Data Types and Declarations (Visual Basic).............................................14 1.4.4 Exceptions ...........................................................................................................................16 1.4.5 Live Demo on our Websites..................................................................................................17 1.4.6 CreateObject Call.................................................................................................................18 1.4.7 Early Binding.......................................................................................................................18 1.4.8 Visual FoxPro Note..............................................................................................................18 1.4.9 MFC: Using the VPE ActiveX with the MFC without placing it in a Dialog Resource ...........19 1.4.10 Using the VPE ActiveX in a CFormView derived class.......................................................19 1.5 VPE VCL.....................................................................................................................................20 1.5.1 Understanding the Data Types and Declarations (Delphi)......................................................21 1.5.2 Exceptions ...........................................................................................................................22 2 Events Generated by the VPE - .NET Control 25 2.1 Events Generated by VPE - .NET Control.....................................................................................25 2.2 AfterDestroyWindow Event - .NET ..............................................................................................26 2.3 Closing Event - .NET ...................................................................................................................27 2.4 AfterCloseWindow Event - .NET..................................................................................................28 2.5 BeforeOpenFile Event - .NET.......................................................................................................29 2.6 AfterOpenFile Event - .NET .........................................................................................................30 2.7 BeforeSaveFile Event - .NET........................................................................................................31 2.8 AfterSaveFile Event - NET...........................................................................................................32 2.9 HelpRequested Event - .NET ........................................................................................................33 2.10 AfterAutoPageBreak Event - .NET .............................................................................................34 2.11 RequestPrint Event - .NET..........................................................................................................36 2.12 BeforePrintNewPage Event - .NET .............................................................................................38 2.13 PrintDevData Event - .NET.........................................................................................................40 2.14 BeforeMail Event - .NET............................................................................................................41 2.15 AfterMail Event - .NET ..............................................................................................................42 2.16 ObjectClicked Event - .NET .......................................................................................................43 2.17 UDOPaint Event - .NET .............................................................................................................44 2.18 AfterControlEnter - .NET ...........................................................................................................45 2.19 RequestControlExit - .NET .........................................................................................................46 2.20 AfterControlExit - .NET .............................................................................................................47 2.21 AfterControlChange - .NET........................................................................................................48 2.22 AfterFieldChange - .NET............................................................................................................49 3 Events Generated by the VPE - Java Control 51 3.1 Events Generated by VPE - Java Control ......................................................................................51 3.2 AfterDestroyWindow Event - Java................................................................................................54 3.3 Closing Event - Java .....................................................................................................................55 3.4 AfterCloseWindow Event - Java ...................................................................................................56 3.5 BeforeOpenFile Event - Java ........................................................................................................57 3.6 AfterOpenFile Event - Java...........................................................................................................58 3.7 BeforeSaveFile Event - Java .........................................................................................................59 3.8 AfterSaveFile Event - NET...........................................................................................................60 3.9 HelpRequested Event - Java..........................................................................................................61 3.10 AfterAutoPageBreak Event - Java...............................................................................................62 3.11 RequestPrint Event - Java ...........................................................................................................64 3.12 BeforePrintNewPage Event - Java...............................................................................................66 3.13 PrintDevData Event - Java ..........................................................................................................69
Recommended publications
  • The Microsoft Office Open XML Formats New File Formats for “Office 12”
    The Microsoft Office Open XML Formats New File Formats for “Office 12” White Paper Published: June 2005 For the latest information, please see http://www.microsoft.com/office/wave12 Contents Introduction ...............................................................................................................................1 From .doc to .docx: a brief history of the Office file formats.................................................1 Benefits of the Microsoft Office Open XML Formats ................................................................2 Integration with Business Data .............................................................................................2 Openness and Transparency ...............................................................................................4 Robustness...........................................................................................................................7 Description of the Microsoft Office Open XML Format .............................................................9 Document Parts....................................................................................................................9 Microsoft Office Open XML Format specifications ...............................................................9 Compatibility with new file formats........................................................................................9 For more information ..............................................................................................................10
    [Show full text]
  • Xbase++ Language Concepts for Newbies Geek Gatherings Roger Donnay
    Xbase++ Language Concepts for Newbies Geek Gatherings Roger Donnay Introduction Xbase++ has extended the capabilities of the language beyond what is available in FoxPro and Clipper. For FoxPro developers and Clipper developers who are new to Xbase++, there are new variable types and language concepts that can enhance the programmer's ability to create more powerful and more supportable applications. The flexibility of the Xbase++ language is what makes it possible to create libraries of functions that can be used dynamically across multiple applications. The preprocessor, code blocks, ragged arrays and objects combine to give the programmer the ability to create their own language of commands and functions and all the advantages of a 4th generation language. This session will also show how these language concepts can be employed to create 3rd party add-on products to Xbase++ that will integrate seamlessly into Xbase++ applications. The Xbase++ language in incredibly robust and it could take years to understand most of its capabilities, however when migrating Clipper and FoxPro applications, it is not necessary to know all of this. I have aided many Clipper and FoxPro developers with the migration process over the years and I have found that only a basic introduction to the following concepts are necessary to get off to a great start: * The Xbase++ Project. Creation of EXEs and DLLs. * The compiler, linker and project builder . * Console mode for quick migration of Clipper and Fox 2.6 apps. * INIT and EXIT procedures, DBESYS, APPSYS and MAIN. * The DBE (Database engine) * LOCALS, STATICS, PRIVATE and PUBLIC variables. * STATIC functions.
    [Show full text]
  • Installing Visual Flagship for MS-Windows
    First Steps with Visual FlagShip 8 for MS-Windows 1. Requirements This instruction applies for FlagShip port using Microsoft Visual Studio 2017 (any edition, also the free Community), or the Visual Studio 2015. The minimal requirements are: • Microsoft Windows 32bit or 64bit operating system like Windows-10 • 2 GB RAM (more is recommended for performance) • 300 MB free hard disk space • Installed Microsoft MS-Visual Studio 2017 or 2015 (see step 2). It is re- quired for compiling .c sources and to link with corresponding FlagShip library. This FlagShip version will create 32bit or 64bit objects and native executables (.exe files) applicable for MS-Windows 10 and newer. 2. Install Microsoft Visual Studio 2017 or 2015 If not available yet, download and install Microsoft Visual Studio, see this link for details FlagShip will use only the C/C++ (MS-VC) compiler and linker from Visual Studio 2017 (or 2015) to create 64-bit and/or 32- bit objects and executables from your sources. Optionally, check the availability and the correct version of MS-VC compiler in CMD window (StartRuncmd) by invoking C:\> cd "C:\Program Files (x86)\Microsoft Visual Studio\ 2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64" C:\> CL.exe should display: Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64 Don’t worry if you can invoke CL.EXE only directly with the path, FlagShip’s Setup will set the proper path for you. Page 1 3. Download FlagShip In your preferred Web-Browser, open http://www.fship.com/windows.html and download the Visual FlagShip setup media using MS-VisualStudio and save it to any folder of your choice.
    [Show full text]
  • Background Information History, Licensing, and File Formats Copyright This Document Is Copyright © 2008 by Its Contributors As Listed in the Section Titled Authors
    Getting Started Guide Appendix B Background Information History, licensing, and file formats Copyright This document is Copyright © 2008 by its contributors as listed in the section titled Authors. You may distribute it and/or modify it under the terms of either the GNU General Public License, version 3 or later, or the Creative Commons Attribution License, version 3.0 or later. All trademarks within this guide belong to their legitimate owners. Authors Jean Hollis Weber Feedback Please direct any comments or suggestions about this document to: [email protected] Acknowledgments This Appendix includes material written by Richard Barnes and others for Chapter 1 of Getting Started with OpenOffice.org 2.x. Publication date and software version Published 13 October 2008. Based on OpenOffice.org 3.0. You can download an editable version of this document from http://oooauthors.org/en/authors/userguide3/published/ Contents Introduction...........................................................................................4 A short history of OpenOffice.org..........................................................4 The OpenOffice.org community.............................................................4 How is OpenOffice.org licensed?...........................................................5 What is “open source”?..........................................................................5 What is OpenDocument?........................................................................6 File formats OOo can open.....................................................................6
    [Show full text]
  • Working with Work Areas
    * Display the orders for the first one. Author Profile Doug Hennig is a partner with Stonefield Systems Group Inc. loNode = loNodes.item(0) and Stonefield Software Inc. He is the author of the award-win- loOrders = loNode.selectNodes(‘order‘) lcOrders = ‘‘ ning Stonefield Database Toolkit (SDT); the award-winning for each loOrder in loOrders Stonefield Query; the MemberData Editor, Anchor Editor, and lcOrders = lcOrders + ; CursorAdapter and DataEnvironment builders that come with iif(empty(lcOrders), ‘‘, chr(13)) + ; Microsoft Visual FoxPro; and the My namespace and updated loOrder.getAttribute(‘orderid‘) Upsizing Wizard in Sedna. Doug is co-author of the “What’s next loOrder New in Visual FoxPro” series (the latest being “What’s New messagebox(loNode.getAttribute(‘company‘) + ; in Nine”) and “The Hacker’s Guide to Visual FoxPro 7.0.” ‘ has the following orders:‘ + ; He was the technical editor of “The Hacker’s Guide to Visual chr(13) + chr(13) + lcOrders) FoxPro 6.0” and “The Fundamentals.” All of these books are As with generating XML, you can create a from Hentzenwerke Publishing (http://www.hentzenwerke. wrapper class for parsing specific XML. For ex- com). Doug wrote over 100 articles in 10 years for FoxTalk ample, I’ve created a class called SFRSS that parses and has written numerous articles in FoxPro Advisor and Ad- visor Guide. He has spoken at every Microsoft FoxPro De- RSS-formatted XML. The SFXML class I discussed velopers Conference (DevCon) since 1997 and at user groups earlier can parse attribute-based XML without you and developer conferences all over the world. He is one of the having to know XPath syntax; see SFXMLParse.
    [Show full text]
  • Sharing Files with Microsoft Office Users
    Sharing Files with Microsoft Office Users Title: Sharing Files with Microsoft Office Users: Version: 1.0 First edition: November 2004 Contents Overview.........................................................................................................................................iv Copyright and trademark information........................................................................................iv Feedback.................................................................................................................................... iv Acknowledgments......................................................................................................................iv Modifications and updates......................................................................................................... iv File formats...................................................................................................................................... 1 Bulk conversion............................................................................................................................... 1 Opening files....................................................................................................................................2 Opening text format files.............................................................................................................2 Opening spreadsheets..................................................................................................................2 Opening presentations.................................................................................................................2
    [Show full text]
  • Visual Foxpro
    Windows Standard Serial Communications Library for Visual FoxPro Programmer's Manual (WSC4FP) Version 7.0 September 10, 2019. This software is provided as-is. There are no warranties, expressed or implied. Copyright (C) 2019 All rights reserved MarshallSoft Computing, Inc. Post Office Box 4543 Huntsville AL 35815 Email: [email protected] Web: www.marshallsoft.com MARSHALLSOFT is a registered trademark of MarshallSoft Computing. 1 TABLE OF CONTENTS 1 Introduction Page 3 1.1 Features Page 4 1.2 Documentation Set Page 6 1.3 Example Program Page 6 1.4 Installation Page 7 1.5 Uninstalling Page 7 1.6 Pricing Page 7 1.7 Updates Page 7 2 Library Issues Page 8 2.1 Dynamic Link Libraries Page 8 2.2 Key Code Page 8 2.3 INCLUDE Files Page 9 2.4 Limitations on COM Ports Page 9 2.5 Dynamic Strings Page 9 2.6 Waiting for New Serial Data Page 10 2.7 SioEvent Logic Page 10 2.8 FoxPro Forms Page 10 2.9 Error Display Page 10 2.10 Virtual Serial Ports Page 10 2.11 Using 16-bit FoxPro for Windows Page 10 2.12 64-bit FoxPro Page 10 2.13 Adding WSC to a VFP Program Page 10 3 Compiling Issues Page 11 3.1 Compiling and Linking Programs Page 11 3.2 Compiling to an Executable Page 11 4 Example Programs Page 12 4.1 WSCVER Page 12 4.2 SIMPLE Page 12 4.3 SIMPLE2 Page 12 4.4 XMS and XMS Page 12 4.5 YMS and YMR Page 12 4.6 FINDER Page 12 4.7 LISTER Page 12 4.8 DIALER Page 13 4.9 DEVICE Page 13 4.10 SELFTEST Page 13 4.11 AT_OK Page 13 4.12 Scale Page 13 4.13 ReadGPS Page 13 5 Revision History Page 14 2 1 Introduction The Windows Standard Serial Communications Library for Visual FoxPro (WSC4FP) is a toolkit that allows software developers to quickly develop serial communication applications in Visual FoxPro.
    [Show full text]
  • Document Conversion Technical Manual Version: 10.3.0
    Kofax Communication Server KCS Document Conversion Technical Manual Version: 10.3.0 Date: 2019-12-13 © 2019 Kofax. All rights reserved. Kofax is a trademark of Kofax, Inc., registered in the U.S. and/or other countries. All other trademarks are the property of their respective owners. No part of this publication may be reproduced, stored, or transmitted in any form without the prior written permission of Kofax. Table of Contents Chapter 1: Preface...................................................................................................................................... 7 Purpose...............................................................................................................................................7 Third Party Licenses................................................................................................................7 Usage..................................................................................................................................................7 Feature Comparison (Links Versus TWS)......................................................................................... 8 Conversion Tools................................................................................................................................ 8 Imgio.......................................................................................................................................10 File Formats......................................................................................................................................10
    [Show full text]
  • Microsoft Office Word 2003 Rich Text Format (RTF) Specification White Paper Published: April 2004 Table of Contents
    Microsoft Office Word 2003 Rich Text Format (RTF) Specification White Paper Published: April 2004 Table of Contents Introduction......................................................................................................................................1 RTF Syntax.......................................................................................................................................2 Conventions of an RTF Reader.............................................................................................................4 Formal Syntax...................................................................................................................................5 Contents of an RTF File.......................................................................................................................6 Header.........................................................................................................................................6 Document Area............................................................................................................................29 East ASIAN Support........................................................................................................................142 Escaped Expressions...................................................................................................................142 Character Set.............................................................................................................................143 Character Mapping......................................................................................................................143
    [Show full text]
  • Geoprocessing in Arcgis® Copyright © 2001–2004 ESRI All Rights Reserved
    ArcGIS® 9 Geoprocessing in ArcGIS® Copyright © 2001–2004 ESRI All rights reserved. Printed in the United States of America. Reprinted 2004. The information contained in this document is the exclusive property of ESRI. This work is protected under United States copyright law and other international copyright treaties and conventions. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or by any information storage or retrieval system, except as expressly permitted in writing by ESRI. All requests should be sent to Attention: Contracts Manager, ESRI, 380 New York Street, Redlands, CA 92373-8100, USA. The information contained in this document is subject to change without notice. DATA CREDITS Geographic data used in the quick-start tutorial provided courtesy of San Diego Association of Governments (SANDAG) and is used herein with permission. Some of the illustrations in this work were made from data supplied by Collins Bartholomew Ltd.; IHS Energy; Riley County, Kansas, GIS; and SANDAG. They are used herein with permission. AUTHOR Jill McCoy U.S. GOVERNMENT RESTRICTED/LIMITED RIGHTS Any software, documentation, and/or data delivered hereunder is subject to the terms of the License Agreement. In no event shall the U.S. Government acquire greater than RESTRICTED/LIMITED RIGHTS. At a minimum, use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in FAR §52.227-14 Alternates I, II, and III (JUN 1987); FAR §52.227-19 (JUN 1987) and/or FAR §12.211/12.212 (Commercial Technical Data/Computer Software); and DFARS §252.227-7015 (NOV 1995) (Technical Data) and/or DFARS §227.7202 (Computer Software), as applicable.
    [Show full text]
  • Microsoft Exchange 2007 Journaling Guide
    Microsoft Exchange 2007 Journaling Guide Digital Archives Updated on 12/9/2010 Document Information Microsoft Exchange 2007 Journaling Guide Published August, 2008 Iron Mountain Support Information U.S. 1.800.888.2774 [email protected] Copyright © 2008 Iron Mountain Incorporated. All Rights Reserved. Trademarks Iron Mountain and the design of the mountain are registered trademarks of Iron Mountain Incorporated. All other trademarks and registered trademarks are the property of their respective owners. Entities under license agreement: Please consult the Iron Mountain & Affiliates Copyright Notices by Country. Confidentiality CONFIDENTIAL AND PROPRIETARY INFORMATION OF IRON MOUNTAIN. The information set forth herein represents the confidential and proprietary information of Iron Mountain. Such information shall only be used for the express purpose authorized by Iron Mountain and shall not be published, communicated, disclosed or divulged to any person, firm, corporation or legal entity, directly or indirectly, or to any third person without the prior written consent of Iron Mountain. Disclaimer While Iron Mountain has made every effort to ensure the accuracy and completeness of this document, it assumes no responsibility for the consequences to users of any errors that may be contained herein. The information in this document is subject to change without notice and should not be considered a commitment by Iron Mountain. Iron Mountain Incorporated 745 Atlantic Avenue Boston, MA 02111 +1.800.934.0956 www.ironmountain.com/digital
    [Show full text]
  • What Is It and Why Should VFP Developers Care?
    The X-Sharp Project What is it and why should VFP developers care? X# Vendor Session October 2019 X#: a new incarnation of an old development language X# Vendor Session October 2019 Agenda • A bit of history • Why X# • What is X# • X# and Visual FoxPro • New Features • Where can I get it X# Vendor Session October 2019 xBase languages, a bit of History -1 • Started at JPL with a project called Vulcan, by Wayne Ratliff (PTDOS, Later CP/M) (1978) • Ashton Tate bought it and released it under the name dBASE II for Apple II and DOS (1980) • An improved version dBASE III in 1984 • In the 80’s several competitors appeared on the market: Clipper, FoxBASE, DBXL, QuickSilver, Arago, Force, FlagShip and many more. Together these products were called “xBase”. The share the programming language and many functions and working with DBF files • Some were faster, others allowed to sell royalty free compiled versions of apps • Then Microsoft launched Windows in 1990 X# Vendor Session October 2019 xBase languages, a bit of History -2 • The move to Windows resulted in several product changes, also products were sold and resold: • dBase (AT) -> (Borland, Inprise, Borland) • QuickSilver -> Borland, then vanished • FlagShip -> MultiSoft (Various Unix versions, Windows) • Clipper (Nantucket)-> Visual Objects (Computer Associates) • FoxBASE (Fox Software) -> FoxPro (Microsoft) • Some products “died” • New products appeared, especially as successors of Clipper • (x) Harbour (open source, also for unix) • Xbase++ X# Vendor Session October 2019 xBase languages, a bit of History -3 • Now in the 2010’s most of these products are ‘dead’, no longer developed for various reasons.
    [Show full text]