07-02-2020, 01:40 PM
(07-02-2020, 07:11 AM)Alexandre Machado Wrote: Please enable the exception logger in your application and we can have more information about it:
http://docs.atozed.com/docs.dll/developm...ogger.html
Hello, here the last logs again, i has shrinked all what i can to isolate the error.
But it stucks at: IWCompExtCtrls.TIWCustomImage.get_HasTabOrder
http://www.vsoft.de/aw/AW_TrackAndTrace@2020-07-02 15-27-08.6471.Log
http://www.vsoft.de/aw/AW_TrackAndTrace@2020-07-02 15-28-39.0821.Log
This code snippet is the part which generate per IWGrid.Cell a TIWImageFile (so it looks better)
Without this all works fine. With Parent=IntraWebServer hangs completly up ..
But i think it has todo with the TabOrder - the Error logs and the CPU Stacktrace are looking all in the same direction (for me)...
Code:
procedure SetCellLinkIcon(oCell:TIwGridCell;sImg:String;sHint:String;oEvent:TIWAsyncEvent;sParams:String);
var
oLink:TIWImageFile;
begin
oLink := TIWImageFile.Create(IWGrid_Dispo);
//oLink.Parent := TWinControl(IWGrid_Dispo);
if(sParams<>'')then
begin
oLink.Css := 'ImageLink';
end else
begin
oLink.Css := 'ImageLinkForbidden';
end;
oLink.Cacheable := true;
oLink.AutoSize := false;
oLink.ImageFile.URL := '/'+sImg;
//oLink.Height := iIconDim;
//oLink.Width := iIconDim;
oLink.Hint := sHint;
oLink.ExtraTagParams.Text := sParams;
oLink.ShowHint := (sHint<>'');
oLink.OnAsyncClick := oEvent;
oLink.TabOrder := -1;
oCell.Control := oLink;
end;for clear (because another search in the DB can bring other results in the grid i use:
Code:
for i := IWGrid_Dispo.ComponentCount-1 downto 0 do
begin
IWGrid_Dispo.Components[i].Free;
end;Hope this will help you for improve/finding the bug.

