Hi all, |
Re: Rich text in DBE |
Re: Rich text in DBE AAI Services, Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
Re: Rich text in DBE dpechacek - Thu May 28 08:11:48 EDT 2009 As mentioned, you can have bold, italics, and/or underline in a richField() or richText() DBE. You can program this using rich text tags, such as: Bold = "{\\b This is bold \\b0}" Italics = "{\\i This is italics \\i0}" Underline = "{\\ul This is underline \\ul0}" You cannot change the text size in a richField() or richText() DBE. You can try, but DOORS seems to over-ride any rich text tags related to font size. As Ron, mentioned, you can simulate different font sizes and font syles (Arial, Times Roman, etc.) using a canvas. It's extra hokey, becuase to change the font, you have to change/use the user's font settings. The attached DXL demo will give some clues as to how to use fonts on a canvas. Attachments attachment_14259902_Fonts_Demo.dxl |