Changeset 5 for trunk/Forms/FormDisassembler.pas
- Timestamp:
- Apr 18, 2026, 7:24:02 PM (9 days ago)
- File:
-
- 1 edited
-
trunk/Forms/FormDisassembler.pas (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormDisassembler.pas
r2 r5 71 71 Item: TListItem; 72 72 DecodedInstruction: TDecodedInstruction; 73 Index: Integer; 73 74 begin 74 DecodedInstruction := Disassembler.DecodedInstructions.SearchAddress(Address); 75 if Assigned(DecodedInstruction) then begin 76 Item := ListView1.Items[Disassembler.DecodedInstructions.IndexOf(DecodedInstruction)]; 75 Index := Disassembler.DecodedInstructions.SearchAddressIndex(Address); 76 if Index >= 0 then begin 77 DecodedInstruction := Disassembler.DecodedInstructions[Index]; 78 Item := ListView1.Items[Index]; 77 79 if Assigned(Item) then begin 78 80 Item.MakeVisible(False); 79 Item.Focused := True; 80 Item.Selected := True; 81 //Item.Focused := False; 82 //Item.Selected := False; 83 //Item.Focused := True; 84 //Item.Selected := True; 85 ListView1.ItemIndex := Index; 86 ListView1.Selected := ListView1.Items[Index]; 87 ListView1.Items[Index].Focused := True; 81 88 end; 82 89 end;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/mzxemu/chrome/site/your_project_logo.png)