Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
How to format a TDataset column |
Fri, Mar 8 2013 10:55 AM | Permanent Link |
Uli Becker | I want to use the new event "OnSetText" of a TDataColumn. That's what I
tried: function xxxForm.dsTempSummeSetText(Sender: TObject; const Value: String): String; begin TDataColumn(sender).text := value + ' ¤'; end; Nothing happens. What is the right syntax to format a value of a DataColumn? Thanks Uli |
Fri, Mar 8 2013 11:35 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< I want to use the new event "OnSetText" of a TDataColumn. That's what I tried: >> Use this: function xxxForm.dsTempSummeSetText(Sender: TObject; const Value: String): String; begin Result := value + ' ¤'; end; Tim Young Elevate Software www.elevatesoft.com |
Fri, Mar 8 2013 11:40 AM | Permanent Link |
Uli Becker | Tim,
> function xxxForm.dsTempSummeSetText(Sender: TObject; const Value: > String): String; > begin > Result := value + ' ¤'; > end; I forgot to mention that I tried that as well, no change. Uli Attachments: Clip11.png |
Fri, Mar 8 2013 11:45 AM | Permanent Link |
Uli Becker | > function xxxForm.dsTempSummeSetText(Sender: TObject; const Value:
> String): String; > begin > Result := value + ' ¤'; > end; I moved the code to "OnGetText" and that works. Uli |
This web page was last updated on Thursday, December 12, 2024 at 02:38 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |