| 152 |
// 出し位置による補正 |
// 出し位置による補正 |
| 153 |
case GikoSys.Setting.PopupPosition of |
case GikoSys.Setting.PopupPosition of |
| 154 |
gppRightTop: OffsetRect(Result, |
gppRightTop: OffsetRect(Result, |
| 155 |
Point.x - (Result.Right - Result.Left) - 15, Point.y - (Result.Bottom - Result.Top) - 15); |
Point.x - WindowWidth - 15, Point.y - WindowHeight - 15); |
| 156 |
gppRight: OffsetRect(Result, |
gppRight: OffsetRect(Result, |
| 157 |
Point.x - (Result.Right - Result.Left) - 15, Point.y - ((Result.Bottom - Result.Top) div 2)); |
Point.x - WindowWidth - 15, Point.y - (WindowHeight div 2)); |
| 158 |
gppRightBottom: OffsetRect(Result, |
gppRightBottom: OffsetRect(Result, |
| 159 |
Point.x - (Result.Right - Result.Left) - 15, Point.y + 15); |
Point.x - WindowWidth - 15, Point.y + 15); |
| 160 |
gppTop: OffsetRect(Result, |
gppTop: OffsetRect(Result, |
| 161 |
Point.x - ((Result.Right - Result.Left) div 2), Point.y - (Result.Bottom - Result.Top) - 15); |
Point.x - (WindowWidth div 2), Point.y - WindowHeight - 15); |
| 162 |
gppCenter: OffsetRect(Result, |
gppCenter: OffsetRect(Result, |
| 163 |
Point.x - ((Result.Right - Result.Left) div 2), Point.y - ((Result.Bottom - Result.Top) div 2)); |
Point.x - (WindowWidth div 2), Point.y - (WindowHeight div 2)); |
| 164 |
gppBottom: OffsetRect(Result, |
gppBottom: OffsetRect(Result, |
| 165 |
Point.x - ((Result.Right - Result.Left) div 2), Point.y + 15); |
Point.x - (WindowWidth div 2), Point.y + 15); |
| 166 |
gppLeftTop: OffsetRect(Result, |
gppLeftTop: OffsetRect(Result, |
| 167 |
Point.x + 15, Point.y - (Result.Bottom - Result.Top) - 15); |
Point.x + 15, Point.y - WindowHeight - 15); |
| 168 |
gppLeft: OffsetRect(Result, |
gppLeft: OffsetRect(Result, |
| 169 |
Point.x + 15, Point.y - ((Result.Bottom - Result.Top) div 2)); |
Point.x + 15, Point.y - (WindowHeight div 2)); |
| 170 |
gppLeftBottom: OffsetRect(Result, Point.x + 15, Point.y + 15); //ギコナビスレ パート1の453氏に感謝 |
gppLeftBottom: OffsetRect(Result, Point.x + 15, Point.y + 15); //ギコナビスレ パート1の453氏に感謝 |
| 171 |
end; |
end; |
| 172 |
|
|