The code below will go to your mail file, create a new document, create a rich text item in the new document, then put in two sections - one expanded and one collapsed. The default is that the section should be collapsed, so you can create a collapsed section with the default green twisty by just supplying one parameter. The first is the title of the section, the second is a NotesRichTextStyle object that will be used to define the style of the section, the third is a NotesColorObject object that will be used to define the color of the twisty, and the fourth is a Boolean value of True or False to indicate if the section should be expanded or collapsed. The "BeginSection" takes anywhere from 1 to 4 parameters. You call "BeginSection" at the point you want the section to start, then "EndSection" when you are finished with the section. Building sections in a Notes 6 rich text field is actually pretty easy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |