Daisy AnalysisWeb Print OCX - Methods

The methods in the Dazy2006WebPrint control cover a lot more than just printing an HTML file :-

  • AddMissingBackslash - Adds a missing backslash to the end of a directory path.

  • AddMissingSlash - Adds a missing slash to the end of a directory path.

  • AdjustFormPosition - Makes sure that a form is displayed on the screen.

  • AlignLabel - Aligns a label to a related text or combo box.

  • BrowserGetFooter - Reads the footer for the browser.

  • BrowserGetHeader - Reads the header for the browser.

  • BrowserGetSetting - Reads a general setting for the browser.

  • BrowserSetFooter - Sets the footer for the browser.

  • BrowserSetHeader - Sets the header for the browser.

  • BrowserSetSetting - Sets a general setting for the browser.

  • BuildPath - Returns a complete file path from a directory and a file name.

  • Busy - Retrieves a Boolean value indicating whether the object is engaged in a navigation or downloading operation.

  • Cancel - Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations.

  • CaptionHeight - Retuns the height of the caption in twips.

  • ColourActualToHex - Converts a colour value to a browser hexadecimal value.

  • ColourActualToName - Converts a colour value to a browser hexadecimal value or name if applicable.

  • ColourHexToActual - Converts a browser hexadecimal value to a Windows colour value.

  • ColourHexToName - Converts a browser hexadecimal value to a name if applicable.

  • ColourNameToActual - Converts a browser colour name to a Windows colour value.

  • ColourNameToHex - Converts a colour name to a browser hexadecimal value.

  • DefaultPrinterGet - (2006 only) - Gets the name of the default printer.

  • DefaultPrinterSet - (2006 only) - Sets the name of the default printer.

  • DialogColour - Chooses a colour from a dialog.

  • DialogDefaultFilter - Returns a default file filter for a file dialog.

  • DialogDirectory - Choose a directory from a dialog.

  • DialogDirectoryBusy - Returns True/False depending on whether the Directory Dialog is open.

  • DialogFileOpen - Chooses a file to open from a dialog.

  • DialogFileSave - Chooses a file to save from a dialog.

  • DialogPrinterSetup - (2006 only) - Calls the printer setup dialog.

  • DialogWidth - Retuns the width of the border of the fixed dialog in twips.

  • Drag - Begins, ends, or cancels a drag operation of any object except Line, Menu, Shape, and Timer.

  • ErrorMessageDoesNotExist - Returns the standard 'does not exist' error message.

  • ErrorMessageNotDefined - Returns the standard 'not defined' error message.

  • ErrorMessageShortenFile - Returns an error message with a shortened file path.

  • ExtractTagValues - Extracts all of the tag=value pairs from a tag.

  • FileDirectory - Extracts the directory from a file path.

  • FileExists - Tests whether a file exists and returns True/False.

  • FileName - Extracts the name from a file path.

  • FileNameOnly - Extracts the name from a file path removing any extension.

  • FilePathShorten - Shortens the file path for display.

  • FormatErrorMessage - Formats an error message for a system error number.

  • FormMarginX - Returns the form margin in twips for width.

  • FormMarginY - Returns the form margin in twips for height.

  • KillFile - Deletes a file.

  • LocationName - Retrieves the name of the resource that Internet Explorer is currently displaying.

  • LocationURL - Retrieves the URL of the resource that Internet Explorer is currently displaying.

  • MenuHeight - Returns the height of the menu in twips.

  • MenuPresent - Returns True/False if a menu is present on the form.

  • MessageError - Displays a customised error message.

  • MessageInfo - Displays a customised information message.

  • MessageQuery - Displays a customised query message.

  • MessageWarn - Displays a customised warning message.

  • Move - Moves an object.

  • Path - Retrieves the full path to the control.

  • PathExplorer - Retrieves the fully qualified path of the Internet Explorer executable file.

  • PrintPage - Prints the HTML page.

  • PrintPageFormatted - Prints a formatted version of the HTML page.

  • QueryValue - Reads a value from the registry.

  • ReadFile - Reads a text file.

  • ReadyState - Retrieves the ready state of the object.

  • RegistryDeleteKey - Deletes a value from the Windows registry.

  • RegistryDeleteSection - Deletes a section from the Windows registry.

  • RegistryGetSetting - Gets a value from the Windows registry.
  • RegistrySaveSetting - Saves a value from the Windows registry.
  • RemoveBetweenTags - Removes between an HTML tag and an end tag from a string.

  • RemoveDoubleTag - Removes a double HTML tag from a string.

  • RemoveLastBackslash - Removes the last backslash from a file path.

  • RemoveLastSlash - Removes the last slash from a file path.

  • ResolveColour - Resolves colour to 'BLACK' or 'WHITE' from a string.

  • SetFocus - Moves the focus to the specified object.

  • SetKeyValue - Stores a value into the registry.

  • ShowDaisyAboutBox - Shows the Daisy About Box dialog.

  • ShowWhatsThis - Displays a selected topic in a Help file using the What's This popup provided by Windows 95 Help.

  • SizableWidth - Retuns the width of the border of the sizable dialog in twips

  • WaitSeconds - Waits the control for a specific number of seconds.

  • WinTempFile - Returns a new Windows temporary file path.

  • WinTempPath - Returns the Windows temporary path.

  • WriteFile - Writes a text file.

  • ZOrder - Places a specified object at the front or back of the z-order within its graphical level.