Код: Выделить всё
var
p: TPoint;
begin
if not Assigned(FilterForm) then FilterForm := TFilterForm.Create(nil);
FilterForm.PopupParent := SpicForm;
p := Point(SpeedButton5.Width, SpeedButton5.Top);
with SpeedButton5.ClientToScreen(p) do
begin
FilterForm.Left := X - SpeedButton5.Width;
FilterForm.Top := (Y - FilterForm.Height) - 2;
end;
FilterForm.Show; В линукс проект собирается норомально. В win же выдает ругается на строчку p := Point(SpeedButton5.Width, SpeedButton5.Top); Сообщение:
Код: Выделить всё
ChatUnit.pas(94,37) Fatal: Syntax error, ")" expected but "," foundКто нибуть может объямнить, почему компилятор требует в win скобку после SpeedButton5.Width.
