J
jog81
Unregistered / Unconfirmed
GUEST, unregistred user!
如题。我尝试了好多次:
var DaList:TListBox;Rect:TRect;Pnt:TPoint
CellRect(Col,Row);
with Rect do
begin
Pnt := DaList.Parent.ScreenToClient((ClientToScreen(Point(Left, Top))));
DaList.SetBounds(Pnt.X, Pnt.Y, Right - Left, Bottom - Top);
DaList.Show;
end;
这是我加的代码,但是一直出错!
分不够可以再加,谢谢各位!
var DaList:TListBox;Rect:TRect;Pnt:TPoint
CellRect(Col,Row);
with Rect do
begin
Pnt := DaList.Parent.ScreenToClient((ClientToScreen(Point(Left, Top))));
DaList.SetBounds(Pnt.X, Pnt.Y, Right - Left, Bottom - Top);
DaList.Show;
end;
这是我加的代码,但是一直出错!
分不够可以再加,谢谢各位!