FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
||||
|
||||
Cambiar el tipo de letra en un QReport
Hola.
¿Alguien sabe cómo se puede modificar el tipo de letra (fuente) de los componentes de un Reporte (QReport) en tiempo de ejecución? Topos los componentes tienen la propiedad ParentFont a True y no se cómo asignar una fuente a la propiedad Font.name del QReport. Gracias. |
#2
|
||||
|
||||
hace unas semanas me hizo falta eso mismo, pero guardando en la base de datos la fuente que se ha de usar, encontré un ejemplo en internet y lo adapté a mis necesidades:
Última edición por Lepe fecha: 20-02-2005 a las 12:59:13. |
#4
|
||||
|
||||
Estoy usando Delphi 5.
¿De donde has sacado la función StrToFont? Adolfo de Bonis |
#5
|
||||
|
||||
Eso me gustaría saber a mi .
La verdad es que anduve por muchos sitios buscando y bajando codigos distintos, hasta encontrar ese. Yo uso delphi 6 Tienes algun problema? |
#6
|
||||
|
||||
Hola.
Ya he conseguido que funcionara perfectamente. Va muy bien pero... el caso es que me cambia sin problemas el Tamaño y el Estilo, pero la Fuente únicamente me la cambia cuando NO es TrueType. ¿Sabes algo de eso? Gracias |
#7
|
||||
|
||||
Hola.
Era un pequeño error. Funciona perfectamente. Gracias. |
#8
|
||||
|
||||
Hola,
Cita:
Cita:
|
|
|
|