Jump to content

Modifying Delphi TStringGrid control


Recommended Posts

Hi,

maybe anyone knows a method of how to modify a Delphi TStringGrid control (seems to be some sort of listview)?

I've searched the forum but the only thing I could find were a few hints for modifying a TListview control.

Unfortunately that doesn't work ... the item count shows up -1 or 0 (there is at least one entry in it).

I need to read the content of the rows and modify some of the text-entries and change the symbol to another one (the grid is also holding one icon per row).

This is what the AU3-window-info is showing to me:

CODE
>>>> Window <<<<

Title: Installation completed!

Class: TfrmRun

Position: 691, 696

Size: 589, 328

Style: 0x96C00000

ExStyle: 0x00000101

>>>> Control <<<<

Class: TStringGrid

Instance: 1

ID: 1770014

Text:

Position: 702, 726

Size: 449, 257

ControlClick Coords: 123, 19

Style: 0x54010000

ExStyle: 0x00000200

I'm not familiar with delphi programming and I can't say which other control comes close to the TStringGrid.

Any hints are welcome, thank you in advance!

Cheers,

aMax.

Link to comment
Share on other sites

  • 1 month later...

Hi there!

Several months later, I've found myself in the same situation as Amax. But I'm very disapointed to find out Amax had no replies to his inquiry. :-(

Can anyone help me in reading/changing text within a TStringGrid structure? The program I'm accessing was written in C++ and not Delphi, btw...

Thanks,

Felipe

Link to comment
Share on other sites

  • 1 year later...
  • 1 month later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...