Tuesday, January 18, 2011

Configuring Spell Check

To create a Spell Check button

  1. In the Object Explorer, double-click the Applet object type to expand it.

  2. In the Applets window, select the name of the applet for which you are creating a Spell Check button.

  3. In the Object Explorer, select the Control object type and add a new record.Create the new record with the following values:


    Field

    Value

    Name

    ButtonCheckSpelling

    Caption

    Check Spelling

    Field

    [field name]

    HTML Type

    MiniButton

    HTML Only

    True

    Method Invoked

    ShowPopup

    NOTE: If the Method Invoked value does not appear in the pick list, type it in.
To set the Spell Check button User Properties

  1. In the Object Explorer, double-click the Controls object type to expand it.

  2. Select the Control User Properties object type.

  3. Click Control User Properties.

  4. In the Control User Properties window, create new records for the following user properties, with the corresponding values:


    Field

    Value

    Mode

    Edit

    Popup

    Spell Checker Popup Applet

    Popup Dimensions

    560 X 350 (recommended initial size)

To edit the Web Applet

  1. In the Object Explorer, double-click the Applet object type to expand it.

  2. In the Applets window, select the name of the applet for which you are creating a Spell Check button, and then right-click and choose Edit Web Layout.

  3. In the Web Control toolbar, from the Mode drop-down list, select Edit.

  4. In the Controls window, select the "Check Spelling" icon, and then drag it to a placeholder in the Web template.

  5. In the Web template, right-click and choose Preview.You can see the Spell Check button as it will appear in the user interface.

To add the Spell Check business component to a business object

  1. In the Object Explorer, click the Business Object type.

  2. In the Business Objects window, select the business object to which you want to add the Spell Check business component.

  3. In the Object Explorer, double-click Business Object to expand it, and then select Business Object Component.

  4. In the Business Object Component (child) window, add a new record.Create the new record with the following values:



    Field

    Value

    BusComp

    Spell Checker Applet VBC

To create a Spell Check Menu Item

  1. In the Object Explorer, click Applet, and then select the applet for which you want to create a Spell Check menu item.

  2. Double-click the Applet object type to expand it, and then select Applet Method Menu Item.

  3. In the Applet Method Menu Item window, add a new record.Create the new record with the following values:



    Field

    Value

    Command

    Check Spelling

    Menu Text

    &Check Spelling

    Position

    2


  4. Select the Applet User Property object type.

  5. In the Applet User Properties window, add a new record.Create the new record with the following values:


    Field

    Value

    Name

    Check Spelling

    Value

    [Name of the field that will use Spell Check]



No comments :

Post a Comment