Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics Development, discussions, problems and suggestions.
  • Page:
  • 1

TOPIC:

ORCA Grid 2 years 1 month ago #17256

  • Sergio Zanoli
  • Sergio Zanoli's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi All,using ORCA components (TD2Grid and TD2Column) I need to read/write string and boolean to/from a TstringList. How I can do it ?

I can't understand hoe to extract or write Boolean/String data from TD2Column(TD2Control)

Can somedody help me ?

Thanks a lot

Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sergio Zanoli. Reason: Inserted images

ORCA Grid 2 years 1 month ago #17257

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1090
  • Thank you received: 157
--TD2Grid Don't have full text abilities.

TD2Column is a general object 

you can take the text that user give with:

var sss:String;

ss:=TD2TextCell(Column1.CellControlByRow(1)).text;   

But you can't add pre-values to TD2Column.


--For full text abilities ORCA has TD2StringGrid Visual Object


procedure TForm1.FormShow(Sender: TObject);
begin
 StringGrid1.Cells[1,1]:='test';
end;


            
PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1