FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#5
|
|||
|
|||
Gracias por los aporte.
He probado los siguiente, según indicaciones de nlsgarcia, pero en tiempo de ejecución me sale siguiente error: Access violation at address 040E915 in module prueba.exe. Read of Address 00000008. procedure TFprincipal.DBDatosKeyPress(Sender: TObject; var Key: Char); begin if DBdatos.Fields[DBDatos.SelectedIndex]= (DBDatos.DataSource.DataSet.FieldByName('Proveedor')) then begin if DBDatos.Controls[0] is TInPlaceEdit then with DBDatos.Controls[0] as TInPlaceEdit do begin if (GetTextLen >= 10) and (Key <> #8) then begin Key := #0; ShowMessage('Máxima longitud alcanzada'); end; end; end; end; No sé donde puede estar el error. Gracias por vuestro interes. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Delphi for PHP y DBgrid | dante148 | Internet | 1 | 04-10-2011 22:56:15 |
DbGrid en Delphi 7 | drakkon | Varios | 3 | 27-12-2007 04:42:08 |
Delphi for php- dbgrid | omarifr | PHP | 2 | 12-10-2007 17:02:54 |
DBGrid en delphi 5 | ibbeth | SQL | 1 | 03-01-2006 02:38:05 |
Delphi + MySQL (DBGrid) | gringo | Conexión con bases de datos | 5 | 23-10-2004 04:44:31 |
|