trichview.support
Re: Which standard action to select font size? |
Author |
Message |
Sergey Tkachenko |
Posted: 04/22/2004 22:00:39 > > 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. > Yes, of course, you can use other comboboxes. Any combobox filled with font names can be used instead of TRVFontComboBox. (you can take any combobox and write cmb.Items := Screen.Fonts; or use some special combobox from DevEx or another collection) cmbFontSize is filled with font sizes for the given font when executing this line: cmbFontSize.FontName := FontName; Most of modern fonts are TrueType/OpenType and can be of any size (some default set of sizes is used for them) But there are some fonts allowing only some specific font sizes. They lose quality when scaling to improper size. Comboboxes are implemented in RVFontCombos.pas |
Powered by ABC Amber Outlook Express Converter