paul44 Expert Cheater Reputation: 2
Joined: 20 Jul 2017 Posts: 152
|
Posted: Thu Nov 11, 2021 10:10 am Post subject: 'set name/Rename' Structure Address "box" [On hold |
|
|
I'm going to "rephrase" my post here (in a broader context), but need to do some groundwork first. can take some time though...
--------------
I have been trying to access that property. Eventually (re)visited Github to find the appropriate procedure 'TStructColumn.SetCaptionClick(sender: TObject)'
I hoped 'oForm.Column[0].Caption' would do the trick, but no cigar.
ps: i can change the 'group' name though, but since doing that github research i'd like to "link" it all together now. Basically getting accustomed on how to interpret all that info...
even picked this up on the way:
oForm.HeaderControl1.Sections[0].Text = '<Offset>'
oForm.HeaderControl1.Sections[0].Width = 150
oForm.HeaderControl1.Sections[1].Width = 200
* related stuff *:
newname:=lblname.caption;
lblName:=tlabel.create(parent.parent);
lblName.AutoSize:=true;
lblName.parent:=edtAddress.Parent;
if columns[i].lblName.caption<>'' then
TStructColumn.getName:
lblName.parent:=group.box;
lblName: TLabel;
|
|