- When the chat window was opened - it was rendered below the left-aligned Windows TaskBar
typo: was "text-aligned"
The positioning is probably made inside the parent TCnAICoderChatForm = class(TCnIdeDockForm)
i would avoid dumb Left := 0 positioning. I would do like this (perhaps as part of TCnIdeDockForm )
- during
.DoShow or maybe even at the end of .CreateWindowHandle
- if there is no .ini settings (or before we would read .INI, as default positioning)
- take Parent Form or, if none, take main Delphi Form
- take
ParentForm.Monitor.WorkareaRect
- move the form to fit into the rect
The procedure TCustomForm.MakeFullyVisible(AMonitor: TMonitor); does not cut it, at least not in VCL 2007, because fails to account to WorkareaRect using formal BoundsRect instead
was thinking maybe i should bin-patch it but then found it has one single use, in IOTA in TCollectionEditor.FormShow, that is really funny. Maybe more consumers appeared after Delphi 2007
-
should this wizard be even enabled (except for Options) if there is no API Key for the selected engine (actually, not any API keys at all) ?
-
looking at your sources... Perhaps there could be a nice feature for AI to translate comments and/or string literals; either into English or into current Windows user language
-
BTW, why not Kimi ? it seems to be all the buzz after DeepSeek and it seemed (when it is not offline) to be smarter than DS
The positioning is probably made inside the parent
TCnAICoderChatForm = class(TCnIdeDockForm)i would avoid dumb
Left := 0positioning. I would do like this (perhaps as part ofTCnIdeDockForm).DoShowor maybe even at the end of.CreateWindowHandleParentForm.Monitor.WorkareaRectThe
procedure TCustomForm.MakeFullyVisible(AMonitor: TMonitor);does not cut it, at least not in VCL 2007, because fails to account toWorkareaRectusing formalBoundsRectinsteadshould this wizard be even enabled (except for Options) if there is no API Key for the selected engine (actually, not any API keys at all) ?
looking at your sources... Perhaps there could be a nice feature for AI to translate comments and/or string literals; either into English or into current Windows user language
BTW, why not Kimi ? it seems to be all the buzz after DeepSeek and it seemed (when it is not offline) to be smarter than DS