Object Model Reference Guide - Solomon Cloud Solutions

Object Model Reference Guide

Release 2015

Disclaimer

This document is provided "as-is". Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. Some examples are for illustration only and are fictitious. No real association is intended or inferred. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes only.

Sample Code Warranty disclaimer

Microsoft Corporation disclaims any warranty regarding the sample code contained in this documentation, including the warranties of merchantability and fitness for a particular purpose.

License agreement

Use of this software is covered by a license agreement provided with it. If you have any questions, please call the Customer Assistance Department at 800-456-0025 (in the United States or Canada) or +1-701-281-6500.

Copyright

? 2014 Microsoft Corporation. All rights reserved.

Publication Date

September 2014

Contents

iii

Contents

Introduction

1

Who Should Use this Information................................................................................................... 1 What Programmers Should Know .................................................................................................. 1

Reference

3

Button Control (SIVControl Object)................................................................................................. 3 Cancel Method ................................................................................................................................ 5 Controls Collection (SIVApplication Object) ................................................................................... 6 Constants ........................................................................................................................................ 7 ControlType Property (SIVProperty Object) .................................................................................... 9 Count Property............................................................................................................................... 11 Delete Method............................................................................................................................... 12 DisableObjectModel Statement (Microsoft SL SDK Applications) ............................................. 14 Dispose Method ............................................................................................................................ 15 DSLDate Control (SIVControl Object) ........................................................................................... 16 EventLog Property ......................................................................................................................... 18 DisableObjectModel Statement (Microsoft SL SDK Applications) ............................................. 20 ExposeCustomObject Statement (Microsoft SL SDK Applications)............................................ 21 First Method .................................................................................................................................. 22 GetBusinessDate Method............................................................................................................. 25 GetCurrencyIDs Method................................................................................................................ 27 GetCurrencyView Method ............................................................................................................. 28 GetCustomizationLevel Method ................................................................................................... 29 GetCustomObject Method ............................................................................................................ 31 GetEntityStatus Method................................................................................................................ 32 GetStatusBarText Method ............................................................................................................ 34 InitializeMode Property ................................................................................................................. 35 Item Property ................................................................................................................................. 36 KeyControls Collection (SIVApplication Object) ........................................................................... 37 Label Control (SIVControl Object) ................................................................................................. 38 Last Method .................................................................................................................................. 40 Level Property (SIVProperty Object) ............................................................................................. 42 LevelNumber Property (SIVProperty Object) ................................................................................ 44 Login Method................................................................................................................................. 45 Logout Method .............................................................................................................................. 48 Message Event .............................................................................................................................. 50 Name Property (SIVControl Object) .............................................................................................. 55 Name Property (SIVProperty Object) ............................................................................................ 56 New Method .................................................................................................................................. 57 Next Method .................................................................................................................................. 59 Notes/Attachments Icon (NoteButton Control) ........................................................................... 61 Previous Method ........................................................................................................................... 62 Properties Collection (SIVControl Object) .................................................................................... 64 Quit Method ................................................................................................................................... 65 Relative Date Dialog ..................................................................................................................... 67 SAFCheck Control (SIVControl Object) ......................................................................................... 68 SAFCombo Control (SIVControl Object) ........................................................................................ 70 SAFContainer Control.................................................................................................................... 72 SAFFloat Control (SIVControl Object) ........................................................................................... 73 SAFGrid Control ............................................................................................................................. 75 SAFInteger Control (SIVControl Object) ........................................................................................ 76

iv

Object Model Reference Guide

SAFMaskedText Control (SIVControl Object)................................................................................78 SAFOption Control (SIVControl Object) ......................................................................................... 80 SAFUpdate Control ........................................................................................................................ 82 Save Method..................................................................................................................................83 SetBusinessDate Method ............................................................................................................. 86 SetCurrencyIDs Method ................................................................................................................ 88 SetCurrencyView Method .............................................................................................................. 90 SetCustomizationLevel Method....................................................................................................92 SetStatusBarText Method ............................................................................................................. 95 SetTranCurrencyAndRate Method ................................................................................................ 96 SIVApplication Object .................................................................................................................... 98 SIVControl Object...........................................................................................................................99 SIVControls Collection .................................................................................................................101 SIVProperties Collection..............................................................................................................103 SIVProperty Object.......................................................................................................................105 SIVToolbar Object ........................................................................................................................109 StartAppAndAutomate Function (Microsoft SL SDK Applications) ...........................................111 StartApplication Method .............................................................................................................113 StartApplication_2 Method .........................................................................................................116 StatusBar Control (Microsoft SL SDK Application) ....................................................................118 SubFormDisplay Event ................................................................................................................119 Value Property (SIVControl Object) .............................................................................................120 Value Property (SIVProperty Object) ...........................................................................................123 Visible Property ............................................................................................................................125

Appendix A: Integrating with Microsoft Office

127

Appendix B: Information for Microsoft SL SDK Programmers

129

Getting a Handle to a Custom Object .........................................................................................130 Manipulating a Custom Object ...................................................................................................130

Appendix C: Limitations

131

Appendix D: Advanced Tasks

133

Working with Troublesome Controls...........................................................................................133

Appendix E: Error Numbers

135

Cross-Reference Between Various Error-Numbering Schemes ................................................144

Appendix F: Application Browser

147

Logging on with the Browser.......................................................................................................147 Choosing an Application to Browse ............................................................................................148 Left and Right Browser Panes ....................................................................................................149 Exercise: Browsing the Sample Application ...............................................................................149

Appendix G: Visual Basic .NET-Related Changes

151

Programming Interface Changes................................................................................................151 Programmatic References ............................................................................................151 Enumerations for Unmanaged (Visual Basic 6.0) Clients Only...................................152 Default Properties .........................................................................................................153 SIVControl Default Property ..........................................................................................153 Deterministic Freeing of SIVToolbar and SIVApplication Objects ...............................154 Error Handling ...............................................................................................................154

Support for WinForm Controls ....................................................................................................157 Label Properties ............................................................................................................157

Contents

v

CommandButton Properties.........................................................................................158 Support for Remaining WinForm Controls...................................................................159 Caption Support ..........................................................................................................................161 Tag Support .................................................................................................................................161 Color Support...............................................................................................................................161 Font support ................................................................................................................................161 Support for COM Controls...........................................................................................................162 Custom Object Support...............................................................................................................162

Glossary of Terms

165

Index

169

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download