Contact TLCC

New NotesDomino 6 feature - customize the twistie used in views Click here to see all the Developer/Admin Tips

Date tip published:02/24/2003
Description:The icon used in views to show if a category is collapsed or not can be customized. You can design whatever graphical icon you want in a paint program and then reference it in your view design.


To learn more about the many new enhancements to Release 6, how to get re-certified as a Release 6 CLP, and train your users on this new release use the following links:

Notes Domino 6 Application Development Update
Notes Domino 6 Application Development 1



Customizing the View Twisties

The twistie used in views to show if a category is collapsed or not can be customized. Below is a screen shot of a view in which the twistie in the first column was customized. Two graphics are used, one to show when the category is collapsed and the other to signify that the category is expanded. Both graphics are combined as one image and then imported into the Domino database as a image resource.







Procedure: Customizing the Expand and Collapse Twisties

Follow these steps to customize the expand and collapse twisties:

1. In a graphics program, create a single 20 pixel wide by 10 pixel high graphic. Create the image for the expand icon in the left side of the graphic in a 10x10 pixel area. Create the image for the collapse icon in the right side of the graphic in a 10x10 pixel area.

2. In Designer, create an image resource for the graphic image. Indicate two images across for the 'Images across' option. Mark that the image is web browser compatibile if this twistie graphic will be used in web browsers.

3. Edit the view column which will display the custom twisties. Check the 'Show twistie when row is expandable' option. Click the folder icon and select the image resource which you created for the custom twisties.





Tip - Experiment with the size

You may want to experiment with the size of the twistie graphic. In Domino Designer 6 Help it says:

  • For your icons to be visible in a view, each image should be no wider than 6 pixels. The font size of the column text determines how high your image should be. For a column with text that has a font size of 10, each image should be no higher than 12 pixels.

TLCC has gotten good results with a 10 X 10 graphic but your needs may be different!