1]连接好数据库,并显示;
2]增加所有字段;
3]添加事件;
// FDQuery1UserName: TWideMemoField;
procedure TForm1.FDQuery1UserNameGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := Copy(FDQuery1UserName.AsString, 1, 50); end;
4]效果;
在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Delphi10.3的DBGrid中memo类型显示内容而不是(WIDEMEMO)1]连接好数据库,并显示;
2]增加所有字段;
3]添加事件;
// FDQuery1UserName: TWideMemoField; procedure TForm1.FDQuery1UserNameGetText(Sender: TField; var Text: string; DisplayText: Boolean); begin Text := Copy(FDQuery1UserName.AsString, 1, 50); end; 4]效果;
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13