trichview.com

trichview.support




Re: Which standard action to select font size?


Return to index


Author

Message

Lauchlan M

Posted: 04/22/2004 13:58:50


> > However, I can't seem to figure out which units I need to add to the

uses

> > clause to get this to work . . . since I don't have the source, could

you

> > let me know which units to add?

>

> These lines are copied from the ActionTest demo,

> http://www.trichview.com/resources/actions/richviewactions.zip

> Unit3.pas


Yep, I found the code in the demo. But I don't know which uses clauses I

need to add. I suppose I could add them all and drop them one by one, but I

thought it would be easier to ask! <g>


> The combobox for font names updates the combobox for font sizes and

applies

> the font name (using the same TrvActionFontEx). The combobox for font

sizes

> applies the font size.

> These comboboxes are special comboboxes - components included in

> RichViewActions.

> TRVFontComboBox - very simple component, a combobox filled with the

> available font names.

> TRVFontSizeComboBox is automatically filled with font sizes available for

> the specified font (or with a set of predefined font sizes for TrueType

> fonts)


ok, so I don;t suppose I can use them on Developer Express Express Bars

then?


> The complete code is below


It's ok, I found it before! Thanks though. I'll try to do the equivalent

with the DevEx font combo, and an ordinary combo for the font size.


Lauchlan M





Powered by ABC Amber Outlook Express Converter