Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Gráficos
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

 
 
Herramientas Buscar en Tema Desplegado
  #6  
Antiguo 04-05-2011
shulygart shulygart is offline
Miembro
 
Registrado: nov 2005
Posts: 13
Poder: 0
shulygart Va por buen camino
Smile

Cita:
Empezado por mlara Ver Mensaje
Se están como enrredando me parece. La única inconsistencia que veo es que OD es el mismo OpenDialog1. De esta manera el código quedaría así:

Código:
if (OpenDialog1.Execute) then begin
  if (Tabla.State <> dsBrowse) then
    Tabla.Edit;
  TablaFOTO.LoadFromFile(OpenDialog1.FileName);
  Tabla.Post;
end;


MIL DISCULPAS ESTOY BUECANDO SOLUCIONAR ALGO PARECIDO

SOY NUEVO EN ESTO

CON UN DIRECTORYLISTBOX Y UN FILELISTBOX BUSCO LA DIRECCION Y CODIFIQUE QUE AL DOBLE CLIC SOBRE LA IMAGEN SE CARGUE EN UNA TIMAGE, YA LA TENGO EN TIMAGE1, YA TENGO MI BASE EN PARADOX UN CAMPO GRAPHIC
LA PREGUNTA ES QUIERO GUARDAR EL REGISTRO COMPLETO DE UN EMPLEADO INCLUYENDO SU FOTO, PERO AL PASAR DE TIMAGE1 AL DBIMAGE1 SOLO PUEDO PASAR BMP LOS JPEG SIMPLEMENTE NO LOS GUARDA

CON ESTO ASIGNO LA IMAGEN AL DBIMAGE
TABLE1.APPEND;
DBImage1.Picture:=image1.Picture;
TABLE1.POST;
Y EL RESTO DE CODIGO DONDE GUARDO TODOS LOS DEMAS DATOS DEL EMPLEADO.

OJALA PUEDAN AYUDARME ME URGE.+

MUCHAS GRACIAS POR LOS APORTES SON MUY EXCELENTES.
GRACIAS POR EL TIEMPO.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro


La franja horaria es GMT +2. Ahora son las 23:12:26.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi