Home
WINDOWBUILDER PRO/V 1.0
Contents
1. eeeeeess4 183 Chapter 12 CompositePanes ecce eee ee ee eere ee eene eee ee eees LOD Chapter 13 Bitmap Manager and Button Editor 187 File Menu oc M 188 Edit MGI eer 190 Programmatic ACCESS eee eee sees eese eene enses sensn aetas ens ete tte te stet te etos etas tn sena 192 Appendix A Customizing WindowBuilder Pro 193 The GraphicObject Framework eese 193 GraphicObject Naming sese enne nennen 193 Setting a Subpane s Contents sees 194 Setting Subpane s Initial Size sesseeeeeeeeee 194 Setting the Minimum and Maximum Size sess 194 Working with Coli sssi nsee deea nennen 195 Setting the Default Font endete etre 195 Denying Input Focus esesseeeeeeeseeeeeern rene enne enne 195 Adding Styles aie te e eot ete ei eric tease 196 Creating an Attribute Editor eese 196 Drawing Your SubPane essere 200 Enabling Morphing eese nennen nemen 201 Adding Tool Palette Icons esee 202 Using the Add In Manager e eee eee eee eene eee eese es seeesssee 204 Appendix B Changes To WindowBuilder 207 Coding Differences Between
2. sess 35 Programming With CompositePane Objects ssssss 37 Using the WindowBuilder Pro Scrapbook erect eterne 38 Using Custom Panes 4 eee escis eres eese eese ee sense tn sense tasto aestate etes ene eoe s neta 39 WindowBuilder Pro V Rapid Prototyping Tools cccssssscsssssscescssscscsssssssessescsseessesseessesseeeseeseees 40 Linking With Buttons and Menus seen 40 ActionButtons and ActionMenus cccccccsscccessececeeecesseeeesaeeeeseeeeees 42 The Power of Morphing Controls c eeeeee eene eerte eene teen sin ene snae 45 Some Closing Thoughts 4 e eeee eese ee eere eene eee ena eene en aene eo nette ttes tette snae 48 Chapter 4 The Calendar A pplication eeeeeeeeeeeee e dO The Application Phase One eere eerte e eese esee en setas enata sts n etas ta sn ntus 49 Constructing the Interface in WindowBuilder Pro 49 Reviewing th Code x ern tote e Pts 55 Finishing the Application rennen 56 The Application Phase T wo ceres eese eee eee ee eene esten ets ene sts eoe sonata 56 Constructing the Second Window in WindowBuilder Pro 56 Reviewing the Code 35 5 tne hi ete d heit ee 58 Finishing the Application essere eene 58 The Applicati
3. 4 e eee ee ee ee eee ee eee eese eo sese es seeeesssDD T File Cori ec 81 Edit Meinl e n 85 b t Miu ss 87 ALG TY MOU e 88 Si Ze MENU eec 90 Options MENU 91 Scrapbook Menu cccccsscscsssscscscsscccsccssscsscsssssccssssscssesssesseessesssesserseesseeseeees 92 Add Men m 93 Chapter 9 General Reference csssccssssscssssssssscccssccssesssessssseses J5 Mechanics and Techniques crece eren eee eene ee ee eee eese ees JD Selecting Multiple Subpanes creer eerte eee eese en setas tn ens tn attese tasa sn ntu 95 Placing Multiple Subpanes 4 eere eee eese teet esee etna enata eos etate te etes neta 95 Creating a New Default Window eere eese eee eee eene neta eene tne estne snae 96 Editing Existing Windows 4 eee esses e esee e eene eese en eene stones ttes ts eoe snot 96 Importing From Res Files 4 eee eee eee e esee e eene ense n estne stes ete sonet 97 Exporting as Res Files 4 4 eeeee esee sees eene eee entes nean ets ete sete ete sonata 97 Getting an Event Summary 4 cereis sees eese eese ense tn etna tn neta aeos senses toes neta 98 Creating Windows and Subpanes e eeeeeeeee eere eee ee ecce ess IO
4. 139 j 141 EnhancedEntryField eee eee eee esee sees eee eese estesa tosta sees ta sena 143 Entry Piel dl M 148 EntryFieldGroup scccsccscssscccsssssscsscssccscsssccscssscssesssessecsseesecsseesesssecsseeees 150 erii senson ssns inno Eseo sorient sisse 152 Link Butt sccccsssssssessrseserserersesscsesscsessessseccsnsesensesensesessesessesessesscsesssseseeses 154 ELE iD A E E E E E EE 157 ListPan ccccsrscssrssssrsessrseserserersesscsessesessessssessnsecensesensesensesensesensesscsesssceseeses 159 MultipleSelectListBox csscsscsssssscsscsscscsssssscsssessessseesecsscsssceseesessssssseees 161 RadioButton cccscsssssssrceversevercerssessesessssssssnscsersesessesessesessesessesscsessesesseees 163 RadioButtOnGroup cccccscscscescsssssccsssssscscsssssscssscssesssessecssessecsseesesssssseeees 165 zr 166 WindowBuilder Pro V Mo dubii TP DERE 168 SEALICBOX CE 169 StAtiC TeX tic C 170 dodi 172 MES qui de RT OAT 174 ThreeStateButton eee eere eese esee eene eene t natns tatu sense tates sns tn sees soss nessis 176 WBTO0lB r 2 erieheieseseaietis sets e easi ee aspe Ig essor ee Pedes ve ses o Sone seod LEER MR PERDE 177 Chapter 11 Windows and Dialogs
5. Adding a Popup Menu cereis ee ee eee ee eerte ense states etos tosta sense tasto setas eese tnae 98 Entering Menu Item Names sss 99 Entering Hierarchical Menus essen 99 Rearranging Menus and Menu Items sese 99 Inserting and Deleting Menu Items eee 100 Selecting Menu Ttem 5 e tette eratis 100 Adding a Selector 4e he er ee 100 Adding Mnemonics 5 tete ee retenta ten 101 lil WindowBuilder Pro V Adding Keyboard Accelerators eee 101 Aig a Dirviader ui mette eat aston et metta iet 101 Testing Menu dete epe E E etes o tete 102 Accepting a Menu oie ie ee te Heres utente t en reete 102 Creating a Menubar eee eee ee esee nette eee tn ete sets tta stesso stone ta sense tas ta setae eaae 102 Adding Your Own Subpanes eere ee eee eee ee sees sense tn etos eene tasse tese nato 103 Editing the Initial Window Position eere eee ecce eese eterne tenete stant 103 Sizing Aligning and Moving Subpanes eee 104 Moving and Sizing Subpanes with the Keyboard ss 104 Constraining Sizing eee eee eee eese esee e eren etes en ttes ta tto sense to sense tas asss e 104 Aligning Subpanes eeeeee eres eese eene eese ee etes tn setas tn se tasas etae ta setae
6. 224 Synchronization Problems sese 226 Avoiding Synchronization Problems eee 227 Methods Relating to Queued Messages seen 227 The Notifier and Open Windows ceres eese tenete eene ee eren tn stas tn sta senn 228 Reinitializing the Notifier sss 228 Methods Relating to the List of Windows eee 229 The Notifier and the User Interface Process eere eerte 230 Modal WmndoOoWs etit ee ERE RH TER RSS 230 Trapping User Input Outside a Window e eeeeeeeeeeee eren eene 232 Global Objects Relating to the Notifier ee eeeee essere eere eene enue 232 vil WindowBuilder Pro V Acknowledgements Acknowledgments viii We would like to thank the following people Without their hard work help advice and debugging skills this product would never have seen the light of day Thanks Wayne Beaton Robert Benson Bennett Berke Robb Canfield Eric Clayberg Christine Comaford Ken Cooper Peter Day Bill Feero Dina Fischer Dwight Ford Bob Gleason Susan Griffin Robert Gurrieri Chris Hayes Scott Herndon Hal Hildebrand Ray Horn Ron Jeffries Darrow Kirkpatrick Pia Kraft Anthony Lander Tom Lipkis Mike Palmer Ted Peters Steve Poehline Lee Roberts Maria Ruscigno Dan Shafer Gordon Sheppard Harpreet Singh Geir Skylstad S Sridhar David Taylor Mike Taylo
7. is authorized to alter it in any way either orally or in writing Copyright The Software and Documentation are owned by OSI and are protected by US and International copyright laws You may not copy the Software or Documentation except that you may make one copy of the Software solely for backup or archival purposes No part of the Documentation may be reproduced or transmitted in any form or by any means electronic or mechanical including but not limited to photocopying without prior written permission from OSI Copying or duplicating the Documentation or any part thereof is a violation of the law Runtime Rights and Limitations You have a royalty free right to reproduce and distribute executable files created by using the Software that include the runtime environment portions of the Software the Runtime Files which are identified in the Documentation as being required to execute programs The executable you distribute must not contain any part of the development environment portions of the Software the Development Files which are identified in the Documentation as being required to develop programs using the Software You may not distribute any portion of the source code of the Software You may not distrib ute executable files whose functionality is similar to that of the Software Governing Law This Agreement shall be governed and construed under the laws of the State of California and subject to the exclusive jurisdiction of the court
8. s manual all other documentation and any portion of the program that can be reproduced in printed form is proprietary and confidential to OSI Unauthorized disclosure of these printed materials may cause irreparable harm to OSI You must treat the information contained in the documentation as trade secrets belonging to OSI You must strictly safeguard against unauthorized copying or disclosing of them to parties not licensed to use the program Limited Warranty Objectshare Systems Inc OST warrants the enclosed diskettes and documentation to be free of defects in materials and workmanship for 90 days from the date of purchase Defective products returned to OSI during this period will be replaced without charge and are subject to the original warranty Furnishing such replacements is OST s only obligation under the terms of this sale Although OSI has made all efforts to ensure that the Software performs as stated in this manual no representation is made and no guarantee is given regarding the Software s merchantability performance or its fitness for any purpose It is sold as is and pur chasers assume all risks regarding its suitability for their purposes OSI is not liable for any loss of profit or other commercial damages including but not limited to special incidental consequential or other damages including the loss of data resulting from the use of the Software This is the sole and exclusive statement of OSI s warranty and no one
9. toast te eost nao 104 Distributing Subpanes eee reser esee e eese tees ene ena sett testate sta seta sin seno 105 Replicating Subpanes Sizes eere eee eee eese sees e ente sse te stas ea sinet 105 Reframing Automatically eere sees eese eee eee eene etate statio sta sea sensn 105 Framing Parameters Deep perdet SEEE EEE 106 Editing Framing Parameters essere 106 Applying Automatic Framing sese 109 Autosizing Subpanes eere eee sees eese eese eese eee ta sense ta sense tasto setae tease eese aaa 109 Ll ranIdeune T 109 Changing Subpane Appearances eee ee eee ee ee ee ee ee esse eessse LIO Changing a Subpane s Style ecce eee eese eese esee ee etes tn seta sense tasas etae tnae 110 Changing a Subpane s Fore and BackColor eeeeeeeeeeeeee 110 Changing a Subpane s Font ecce eee e esee eee ee ertet eee tn seta sense tn sense tnetuae 111 Editing Specific Attributes eeeeee eee e cete etes eee seen eese ta etes tn etas tasto 112 Setting the Window s Size Explicitly eere ere e eene reete 112 Changing Subpane Relationships amp Behaviors 112 Editing Tabbing Order eere eee eene e etes enses tests testa setas tn
10. SHARE OBJECT SINALSAS INC WINDOWBUILDER PRO V 1 0 Tutorial and Reference Guide gt gt gt OBJECTSHARE SYSTEMS WindowBuilder Pro V License Agreement Objectshare License Agreement This is a legal agreement between you the end user and Objectshare Systems Inc OSI Having opened the sealed software pack et you have agreed to be bound by the terms of this Agreement If you do not agree to the terms of this Agreement promptly return the software packet and the accompanying items including written materials and other containers to the place you obtained them for a full refund Grant of License OSI grants you i a non exclusive nontransferable license to use one copy of the enclosed OSI software pro gram the Software on a single computer for your personal use on the understanding that a single person uses each copy and ii a non exclusive nontransferable license to use one copy of the related written materials enclosed Documentation Purchasers of the Software are therefore licensed to use it themselves on one computer at a time and to make a single backup copy for their own use No other license is given In particular The Software may not be installed on a computer network for use by more than one person The Software may not be rented or leased to others and the conditions of this sale apply to the purchaser in any resale Non Disclosure of the Program Documentation The user
11. Versions V Win 1 1 to V Win 2 0 207 WindowBuilder Differences e eee eee eee eee ee eese eaten tns tn ats sn sta sta suut 208 vi Table of Contents Importing From Windows 1 x 4 ceres censet eee erento estates tosta setas tasto 209 Importing Windows Layout eese 209 Assigning Instance Variables see 210 Altering Your close Window Code see 210 Changes from WindowBuilder to WindowBuilder Pro 211 Appendix C FramingParameters Explained 213 Appendix D The Notifier eee eres eee eee ee eese eese eese eese se 2 L5 What is the Notifier eee eee eee eee estes ee teste tns tn enata enata tata etnia tetas 215 Programming for OS 2 and Windows c eeeee e eee eee ee eese eene tn nne 215 Window Events eese eter terris ttem E P et es 215 The Message Loop dene ree tette 216 The Window Function siiin i a e nennen nennen enne 216 An Overview of Event Processing in Smalltalk eee 217 Executing the Event Loop esee nennen 218 Step 1 Wait for an Event 219 Step 2 Notify Message ient tret enden 220 Step 3 Process Queued Window Messages sess 220 Direct vs Queued Window Messages eres eese esses eene enean states sonata
12. cssscescesssscescesessnescessssnssnsssscsssessosssse eee 6 Chapter 2 Learning WindowBuilder Pro cess 7 A QUICK PK c 7 Laying Out the Interface essere 8 Choosing and Placing Components eee 8 Resizing the Window esses enne ener enne 11 Positioning Components Correctly seseseeeee 12 Modifying Component Attributes essere 15 Hooking Up Events neto phe three 18 Coding Considerations in WindowBuilder Pro eee 20 What WindowBuilder Pro Generates eee 20 WindowBuilder Pro and Smalltalk V sees 22 Passing Arguments to Windows sese 23 Returning Values From a Dialog eee 24 Chapter 3 Using WindowBuilder Pro eese 27 Aligning and Sizing Objects 4 ence ee esee sees eee seen eene tenens ense en atn aetnae 27 Aligning Multiple Objects cssesesseseeeeeeeenreneen eene 28 Sizing Multiple Objects ire eene 30 Controlling Tab Order 4 eerie esee eres eese eene ense tn etna en aetas taste estne s aeto 30 Using and Creating CompositePanes ecce eee eee eese ee eee seen eas nano 32 Using an Existing CompositePane esee 33 Creating a CompositePane
13. on Phase Three creer sees eerte eene enses enatis etes neto 59 Creating the Clock View in WindowBuilder Pro 60 Reviewing the Code eire rete 60 Finishing the Application essere eene 60 Chapter 5 Graphing Application e eeeeeeeeeeee eee 03 aunurAriuriee e M 63 Constructing the User Interface e eee eee eee eese eee tenente sesenta snnaes 63 Reviewing the Code antec Uer e ita 65 Finishing the Application 65 Chapter 6 Form Designer Project eeeeeeeeeeee eren eee es 7 The EntryFieldGroup CompositePane e eere reete eene eee ee eee nana 67 Constructing the Demo Application in WindowBuilder Pro 70 Finishing the Application eeeee censet eere eee n eene eunte toas tette sts ene staat 72 The ok Method 2 inier RAIDER 72 The cancel Method eene a tease 73 The Font Changing Methods sess 73 Testing the Final Application eese enne 74 Some Closing Thoughts ccscccsssscscsssscsscssscscssssscsssssscsssessesssesserseeesersseses 75 Table of Contents Part II WindowBuilder Pro V Reference Chapter 7 Tool Bar Reference eee e eene ee eene eene ee ense eessse 19 Chapter 8 Menu Reference
14. r Steve Wessels Scott Wlaschin Bob Yerex Also thanks to the following organizations for helping making WindowBuilder Pro and Smalltalk successful American Management Systems Inc Cocking amp Drury Ltd Digitalk Inc Electronic Data Systems Inc Enterprise Engines Inc Graphical User Interfaces Inc Knowledge Systems Corporation Inc micado SoftwareConsult GmbH The Object People Inc Object Technology International Inc And finally a very special thanks to Dan Shafer who authored the tutorial section of this manual
15. s therein Entire Agreement You agree that this Agreement expresses the entire understanding between you and OSI and supersedes all other communications oral or written relating to the Software Copyright Objectshare Systems Inc 1993 All rights reserved Information in this document is subject to change without notice and does not constitute a commitment on the part of Objectshare Systems Inc Third edition October 1993 Printed in California Objectshare Systems Inc 5 Town amp Country Village Suite 735 San Jose CA 95128 2026 WindowBuilder WindowBuilder Pro and Subpanes V are trademarks of Objectshare Systems Inc Smalltalk V is a registered trademark of Digitalk Inc Windows is a trademark of Microsoft Corporation OS 2 is a registered trademark of International Business Machines Corporation ENVY Developer is registered trademark of Object Technology International Inc Third edition October 1993 Table of Contents Table of Contents Part I WindowBuilder Pro V Tutorial Chapter 1 Getting Started eee eee etra torte o ren onere en then annie What You Should Already Know cerei eese eee eee etes eee ettet testa seta sense tn etn 3 What s In This Manual eee eerte eene enean enata tatnen sensns ene ta sensn setae nad 4 Differences From Earlier Versions scscssssscsscsssssssscessssssssssssssssessesese eee 5 Manual Conventions sessssssssssesscsscs
16. seno 112 Setting Groups M 114 Coding With WindowBuilder Pro eese 115 The SubPane Hierarchy erre perite 115 Accessing Subpanes Sme aaeeeo rE en E retener 115 Accessing VICWS iesscissiscsssceticssasivesstscastespstsescsuoesoasssstscdibadss rE ETO EE REEERE 116 Table of Contents Avoiding the createViews Method sees 116 The initWindow Method sese 116 The preInitWindow Method eere 117 Other WindowBuilder Pro Features eee ecce ecce ee eese eese ees LIS Window CUA Keyboard Emulation Mnemonic Redundancy Checking e eee eee eese eese ee eren eene te sten stanno Using the Scrapbook eere ee eee ener ee eret enean e eth et tt esaet th etos to sete season Storing to the Scrapbook Retrieving from the Scrapbook seseeeeeee 120 Widget Morphing eeeee esee esee esee seen sense ene en setas tasses toss tetas etes ta sess sosro 121 Chapter 10 Widget Encyclopedia 123 Kite M R HM 125 P 128 ANIMATIONPANE 130 jn 132 je n 133 ChECKBOXGLOUP E M 134 U 136 CPS taticGraphit e
Download Pdf Manuals
Related Search
Related Contents
Star Micronics TSP800 Series User's Manual Hunter 28784 Installation Guide User Manual - Oli Larkin infocop_61_auvergne (646,13 ko) 4 installation USER`S MANUAL Actiontec 802CI2 Owner's Manual GoVolt HL1 User Manual Copyright © All rights reserved.
Failed to retrieve file