User's Guide


Testing the tool bar

At this point, you can test the clipboard tool bar. Save the tool bar part, and create a new application and a new visual part for testing. In the new visual part, add a Multiline Edit part to the Window part. Next, from the Options menu select Add part. Type MyClipboardToolsView in the Class name field. Place the tool bar anywhere on the Window part.

Connect the cutPressed event of the tool bar to the cutSelection action of the Multiline Edit part. Also connect the copyPressed event to the copySelection action and the pastePressed event to the paste action.

Test the part. Type some text in the entry field and select it. Select the Cut push button. Next, select the Paste push button.

The selected text should have been removed from the Multiline Edit part and then placed back again. If not, edit the clipboard tool bar and make certain that all the connections and scripts are correct.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]