Ver Mensaje Individual
  #2  
Antiguo 24-03-2008
Avatar de eduarcol
[eduarcol] eduarcol is offline
Miembro Premium
 
Registrado: ago 2003
Ubicación: En los estados Zulia y Merida de Venezuela
Posts: 4.151
Reputación: 25
eduarcol Va por buen camino
El error como bien lo dices es que el Grid no tiene el metodo Add. Tendrias que escribir directamente sobre la celda que quieras insertar o utilizar el metodo ADD del Row

Cita:
Replaces the first empty string with a specified string.

Delphi syntax:

function Add(const S: string): Integer; override;

C++ syntax:

virtual int __fastcall Add(const AnsiString S);

Description

Call Add to add a string to the list. Add searches the list for an empty string and replaces it with S. It then returns the index where it added S to the list. If there are no empty strings in the list, Add does not add S to the list and returns –1.
Ejemplo

stringgrid1.Rows[1].Add(subdirectorio + regBusqueda.Name);
__________________
...Yo naci en esta ribera del arauca vibr@d0r
Soy hermano de la espuma,
de la garza, de la rosa y del sol...
Viva Venezuela
Responder Con Cita