when using AddItem of TFolder() / TFolderEx() the new ::Dialogs have different Position as 0,0
![Question :?:](./images/smilies/icon_question.gif)
![Image](https://i.postimg.cc/5Nzn62Pw/TAB-Add-Item.png)
it disappear when "resize" ::Dialogs
is there a Workaround without "resize"
![Question :?:](./images/smilies/icon_question.gif)
Code: Select all | Expand
if Empty( cResName )
DEFINE DIALOG oDlg OF Self STYLE WS_CHILD ;
FROM 0, 0 TO oThis:nHeight - oThis:nFdHeight - 5, oThis:nWidth - 6 PIXEL
else
DEFINE DIALOG oDlg OF Self STYLE WS_CHILD ;
FROM 0, 0 TO oThis:nHeight - oThis:nFdHeight - 5, oThis:nWidth - 6 PIXEL ;
NAME cResName
endif
Code: Select all | Expand
ACTIVATE DIALOG oDlg NOWAIT ;
ON INIT ( oDlg:Move( oThis:nFdHeight + 2, 3, oThis:nWidth - 6, oThis:nHeight - oThis:nFdHeight - 5 ) ) ;
VALID .f.
ok, thx for AnswerAntonio Linares wrote:So if you modify DATA nFdHeight you could change its position automatically