hi,
when using AddItem of TFolder() / TFolderEx() the new ::Dialogs have different Position as 0,0
it disappear when "resize" ::Dialogs
is there a Workaround without "resize"
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
ACTIVATE DIALOG oDlg NOWAIT ;
ON INIT ( oDlg:Move( oThis:nFdHeight + 2, 3, oThis:nWidth - 6, oThis:nHeight - oThis:nFdHeight - 5 ) ) ;
VALID .f.
Antonio Linares wrote:So if you modify DATA nFdHeight you could change its position automatically
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 16 guests