Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
ToolBook 11.5: Advanced Features

ToolBook 11.5: Advanced Features

Ratings: (0)|Views: 78 |Likes:
Published by CubemanPDX

More info:

Published by: CubemanPDX on Nov 28, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/04/2012

pdf

text

original

 
 
ToolBook 11.5
Advanced Features
 
 
 
Copyright © 2012 SumTotal Systems, Inc. All rights reserved.
i
 
CHAPTER 1 - Creating Windows with Viewers ................................................... 3 
 
Introduction ..................................................................................................................................3
 
About Viewers .............................................................................................................................4
 
A viewer's default page .......................................................................................................... 4
 
Types of viewers ....................................................................................................................5
 
Viewer Behavior .....................................................................................................................5
 
Differences between pop-up viewers and child viewers .........................................................6
 
Elements of a viewer .............................................................................................................. 7
 
Understanding viewers and the object hierarchy ....................................................................7
 
Creating viewers ..........................................................................................................................9
 
Restricting navigation ........................................................................................................... 10
 
Copying and pasting viewers ................................................................................................ 10
 
Setting Viewer Properties .......................................................................................................... 12
 
Setting a viewer’s persistent properties ................................................................................ 12
 
Working with viewer properties .................................................................................................. 14
 
Setting caption style ............................................................................................................. 14
 
Assigning a menu bar to a pop-up viewer ............................................................................. 14
 
Assigning an icon to a viewer ............................................................................................... 14
 
Setting a viewer’s mat color .................................................................................................. 14
 
Using image buffers to optimize viewer display ....................................................................14
 
Adding a status bar to a viewer ............................................................................................ 15
 
Setting viewer position ..........................................................................................................15
 
Setting viewer size ............................................................................................................... 16
 
Positioning viewers using coordinates .................................................................................. 16
 
Using viewers in an application ..................................................................................................19
 
Using color palettes with viewers ..........................................................................................20
 
Displaying modal and nonmodal viewers .............................................................................. 20
 
Showing and hiding viewers automatically ...........................................................................20
 
Using OpenScript to display pages in viewers ...................................................................... 21
 
Saving changes to pages displayed in viewers ....................................................................22
 
Using lockScreen and sysLockScreen with viewers ............................................................. 22
 
Working with the target window and parent window ............................................................. 22
 
Activating viewers ................................................................................................................. 23
 
Changing the target window temporarily in scripts ................................................................ 24
 
Changing the target window using the send command ........................................................ 24
 
Referring to objects in the target window .............................................................................. 24
 
Closing the target window ....................................................................................................25
 
Changing a viewer’s parent window ..................................................................................... 25
 
Using window handles .......................................................................................................... 26
 
Creating dialog boxes with viewers ...................................................................................... 26
 
Creating a new viewer for each dialog box ........................................................................... 27
 
Creating one viewer to display any dialog box ......................................................................28
 
Creating a floating tool palette .............................................................................................. 29
 
CHAPTER 2 - Creating and Modifying Menu Bars ............................................ 31
 
Introduction ................................................................................................................................ 31
 
About Menu Bars ....................................................................................................................... 32
 
Types of menus .................................................................................................................... 32
 
Tools for creating and editing menu bars .............................................................................. 33
 
How menus work .................................................................................................................. 34
 
Table of Contents
 
Table of Contents
ii
Copyright © 2012 SumTotal Systems, Inc. All rights reserved.
Using aliases for menus and menu item names ................................................................... 34
 
Using the Menu Bar Editor ................................................................................................... 35
 
Working with menu bars ............................................................................................................ 37
 
Using menu bar resources in a book .................................................................................... 37
 
Assigning a menu bar resource to a viewer .......................................................................... 37
 
Removing a menu bar resource from a viewer ..................................................................... 38
 
Using OpenScript with menu bars .............................................................................................39
 
Adding menus and menu items ............................................................................................ 40
 
Adding submenus to a menu ................................................................................................41
 
Adding an access key to a menu or menu item ....................................................................41
 
Adding a new alias for a user-defined menu or menu item ................................................... 41
 
Adding a built-in alias for a user-defined menu item ............................................................. 42
 
Adding Help text for a menu or menu item ........................................................................... 43
 
Changing the names of menus and menu items................................................................... 43
 
Putting check marks beside menu items .............................................................................. 43
 
Adding and removing separator bars ....................................................................................44
 
Enabling and disabling menus and menu items.................................................................... 44
 
Hiding and showing menu bars ............................................................................................45
 
Removing menus and menu items .......................................................................................45
 
Restoring a modified menu bar to its original state ...............................................................45
 
Keeping the same Reader-level menu bar between book instances .................................... 46
 
Handling menu-event messages ............................................................................................... 47
 
Using the menuItemSelected notification message .............................................................. 47
 
Handling a menu-event message for a user-defined menu item ........................................... 48
 
Handling a menu-event message for a built-in menu item .................................................... 48
 
Displaying menu items conditionally ..................................................................................... 49
 
Displaying pop-up menus .......................................................................................................... 50
 
CHAPTER 3 - ActiveX, Automation, plus more ................................................. 51
 
Introduction ................................................................................................................................ 51
 
About ActiveX and Automation .................................................................................................. 52
 
Using ActiveX and Automation in an application ........................................................................ 53
 
Adding and removing an ActiveX control ...................................................................................54
 
Creating an Automation object .............................................................................................55
 
Writing OpenScript for ActiveX controls and Automation objects ............................................... 56
 
Setting properties of ActiveX controls and Automation objects ............................................. 56
 
Calling methods of ActiveX controls and Automation objects ............................................... 57
 
Handling Events from ActiveX controls and Automation objects ........................................... 58
 
Creating action sequences for ActiveX controls ......................................................................... 60
 
Setting ActiveX properties .................................................................................................... 60
 
Executing ActiveX methods ..................................................................................................60
 
Handling ActiveX events .......................................................................................................61
 
Troubleshooting ActiveX and Automation .................................................................................. 62
 
Troubleshooting ActiveX controls .........................................................................................62
 
Troubleshooting Automation objects ....................................................................................62
 
Additional Information ........................................................................................................... 62
 
About ADO ................................................................................................................................ 63
 
About OLE ................................................................................................................................. 63
 
Working with OLE ...................................................................................................................... 64
 
Creating a new OLE object in ToolBook ............................................................................... 64
 
Editing an OLE object ........................................................................................................... 65
 
Setting an OLE object’s properties .......................................................................................65
 
Removing an OLE object ......................................................................................................66
 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->