Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

How can i add a Matrix 255 x 255 into a form (using delphi)

array matrix

Best Answer Luthfi, 12 July 2013 - 04:18 AM

You can use a TStringGrid for each matrix. Later you can do something like this:

StringGrid1.Cells[11,7] := 'A';
Go to the full post


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 leecan

leecan

    CC Newcomer

  • Member
  • PipPip
  • 16 posts

Posted 12 July 2013 - 02:59 AM

Hello,

 

I am creating a presentation for one algorithm which required to have 3 matrix (each one is 16 x 16) on my main form.

 

Adding TEdit ( 256 + 256 + 256 ) on my main form can be done but it will take ages with me to completed it.

 

Is there a possibility to draw a matrix 16 x 16 on my form AND  to recognize each Cell so i can use it later to fill it with other data?

 

for example:

Matrix1[11,7] = 'A';

 

Thanks and Regards


Edited by leecan, 12 July 2013 - 03:04 AM.


#2 Luthfi

Luthfi

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1320 posts

Posted 12 July 2013 - 04:18 AM   Best Answer

You can use a TStringGrid for each matrix. Later you can do something like this:

StringGrid1.Cells[11,7] := 'A';


#3 leecan

leecan

    CC Newcomer

  • Member
  • PipPip
  • 16 posts

Posted 12 July 2013 - 06:53 AM

Thanks a lot Luthfi,

 

You are always available to help others.

 

Best Regards



#4 Luthfi

Luthfi

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1320 posts

Posted 13 July 2013 - 04:10 AM

You are very welcome! Glad if I could be of any help.






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download