JOSE ALCANTARA Posted August 4, 2023 Share Posted August 4, 2023 Saludos muchachos, Mi problema es que cuando pongo el UNIDBGrid ReadOnly en true, no puedo copiar el contendido de las celdas al portapapeles con Ctrl+C. hay alguna forma de resolverlo. Gracias Quote Link to comment Share on other sites More sharing options...
Abanto Jose Posted August 7, 2023 Share Posted August 7, 2023 Te sugiero que uses el evento onkeydown y el siguiente codigo> clipboard.Clear; if (CHAR(KEY)='C') AND (SHIFT=[SSCTRL]) then clipboard.AsText:=mygrid.DataSource.DataSet.FieldByName(mygrid.Columns.Items[Tunidbgrid(mygrid).CurrCol].FieldName).asstring; Saludos desde Peru. Quote Link to comment Share on other sites More sharing options...
JOSE ALCANTARA Posted August 16, 2023 Author Share Posted August 16, 2023 Gracias Abanto, Entiendo que Clipboard se ejecuta del lado del servidor, te funciona esta tecnica a tí? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.