07-18-2022, 11:45 AM
(07-17-2022, 12:41 AM)Alexandre Machado Wrote: This issue has been fixed and will be available in the next update.
Cheers
Thanks for quick response!
In this context: Why are the identifiers in the EventParams not generated uniformly?
The component name (in frames plus "_" plus OwnerFrame.Name) is usually specified in EventParams of AsyncEvents.
In the events of TIWCheckBox / TIWSelect, however, the component name is extended by "_CHECKBOX" / "_SELECT".
Possibly the EventParams must therefore be evaluated as follows:
procedure TForm.IWControlAsyncChange (Sender: TObject; EventParams: TStringList);
var
FName : string;
FValue: string;
start
FName:=TIWCustomControl(Sender).IWCLName;
if Sender is TIWSelect then FName:=ReplaceStr(FName, 'IWCL', '_SELECT' ) else
if Sender is TIWCheckBox then FName:=ReplaceStr(FName, 'IWCL', '_CHECKBOX') else FName:=ReplaceStr(FName, 'IWCL', '');
FValue:=EventParams.Values[FName];
...
...
end;
Have a nice day
The way to success is always under construction ... but i see a light at the end of the tunnel

