07-28-2022, 03:01 AM
Not exactly performant, yes, in case you have such a big grid. I'll have a look at the IWEdit refresh and why it is not working.
Regarding the EventParams, there is actually no requirement that the field needs to have the same name as the component. The component itself handles this internally in a transparent way. In general you don't need to deal with it directly, do you?
Each TIWControl has a method like this:
function TIWCustomCheckBox.IsForThisControl(AName: string): Boolean;
begin
Result := SameText(HTMLName + '_CHECKBOX', AName);
end;
So, the IWCheckBox itself knows what field name it expects.
Regarding the EventParams, there is actually no requirement that the field needs to have the same name as the component. The component itself handles this internally in a transparent way. In general you don't need to deal with it directly, do you?
Each TIWControl has a method like this:
function TIWCustomCheckBox.IsForThisControl(AName: string): Boolean;
begin
Result := SameText(HTMLName + '_CHECKBOX', AName);
end;
So, the IWCheckBox itself knows what field name it expects.