FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
alinear a la derecha texto de un stringgrid
Saludos, como podria alinear a la derecha el contenido de una columna de un stringgrid, tomando en cuenta que mi aplicacion es CLX.
Gracias por la ayuda que puedan darme. |
#2
|
||||
|
||||
Primero que nada quiero pedirte disculpa por mi falta de conocimiento (No se que es una aplicación CLX ), pero quizás el truco 234 de Trucomanía te pueda ayudar, a continuación te lo cito.
Cita:
Un saludo
__________________
Lo importante no es llegar primero, sino saber llegar. Para que puedas llegar mejor lee la Guia de Estilo |
#3
|
|||
|
|||
Saludos, gracias por tu ayuda pero tu ejemplo no me permite especificar una determinada columna para alinear a la derecha.
este ejemplo si me pide la columna que quiero alinear pero me marca que no esta declarada ó definida DrawText, a de faltar una Unit ó algo asi, espero me puedan ayudar.
|
#4
|
||||
|
||||
Cita:
// Saludos |
#5
|
||||
|
||||
Esto Funciona
Como bien dice el amigo roman, se trata del mismo evento así que con solo unas pequeñas modificaciones lo podrás adaptar a lo que quieres.
Esto lo probé y me funciona. Espero te Ayude. Un saludo
__________________
Lo importante no es llegar primero, sino saber llegar. Para que puedas llegar mejor lee la Guia de Estilo |
#6
|
|||
|
|||
Ok, muchas gracias a ambos.
|
#7
|
||||
|
||||
problema al alinear
Hola amigos...
tengo un pequeñisimo problema... quise ejecutar esta sentencia.. pero me da el siguente error [Error] Unit5.pas(399): Undeclared identifier: 'Right' he tratado de solucionarlo.,... pero no se como.. el codigo es tengo es el sgte:
espero me puedan ayudar..
__________________
BlueSteel |
#8
|
||||
|
||||
ya lo arregle.. me habia comido una linea.. sorry..y gracias
__________________
BlueSteel |
#9
|
|||
|
|||
Hola!
Resucitando este hilo ya que necesito hacer algo similar ¿cual fue la linea que te comiste Blue Steel? |
#10
|
||||
|
||||
Cita:
Hola.. en realidad ya ni me acuerdo.. por que fue hace mas de 1 año... pero si te sale error.. por que mejor no pones tu codigo...
__________________
BlueSteel |
#11
|
|||
|
|||
JEJE!
Como me fui a comer no habia probado nada del codigo pero copy & paste el tuyo, le cambie el nombre del stringgrid y me aparece el mismo error que mencionas edito: OK Corregido
Última edición por FGarcia fecha: 07-09-2007 a las 22:02:58. |
|
|
|