the dialog of the TFolder-Control is NOT docked with ..\samples\testfld6.prg:

However it works with ..\samples\testfldm.prg:

Why?
TIA
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86


Function main3()
  LOCAL omdi3, oDlg, oFolder
  LOCAL cContrato:=space(13)  ,;
     cNombre:=space(30)   ,;
     cDireccion:=space(60) ,;
     cTelefono:=space(10)  ,;
     cNotas:=""
// Child-Window !!!
// --------------------
 * DEFINE WINDOW omdi3 MDICHILD OF oMainWnd ;
 *   COLOR "N/W"
  //Define dialogo
  DEFINE DIALOG oDlg NAME "DLGTEST" OF oMainWnd ;
    TITLE "Another folder test"
...
...
...
Â
  //Redefine controles del dialogo
  //Activar dialogo
  ACTIVATE DIALOG oDlg Nowait
// Child-Window !!!!!
// ----------------------
* Â Â ACTIVATE Window omdi3;
*Â Â valid (odlg:end())
RETURN nil

*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
*+
*+ Â Â Source-Datei => c:\fwh\samples\testfld9.prg
*+
*+ Â Funktionen: FUNCTION Main()
*+ Â Â Â Â Â Â Â FUNCTION ChangeDlg()
*+
*+ Â Â Neu formatiert mit CLICK! 2.06 on 16. April 2009 um 09:59
*+
*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
// Dinamically changing a folder dialog
#include "FiveWin.ch"
*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
*+
*+ Â Â FUNCTION Main()
*+
*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
*+
FUNCTION Main()
  LOCAL oDlg
  LOCAL oFld
  DEFINE DIALOG oDlg RESOURCE "TEST"
  REDEFINE FOLDER oFld ID 10 OF oDlg ;
      PROMPTS "One", "Two", "Three" ;
      DIALOGS "dlg1", "dlg2", "dlg3"
  REDEFINE BUTTON ID 20 OF oFld:aDialogs[ 2 ] ;
      ACTION ChangeDlg( oFld )
  ACTIVATE DIALOG oDlg CENTERED
RETURN nil
*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
*+
*+ Â Â FUNCTION ChangeDlg()
*+
*+ Â Â Called from ( testfld9.prg ) Â 1 - function main()
*+
*+ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
*+
FUNCTION ChangeDlg( oFld )
  oFld:aDialogs[ 2 ] :bValid = nil
  oFld:aDialogs[ 2 ]:End()
  DEFINE DIALOG oFld:aDialogs[ 2 ] RESOURCE "dlg4" OF oFld ;
      FONT oFld:oFont
  ACTIVATE DIALOG oFld:aDialogs[ 2 ] NOWAIT ;
      ON INIT oFld:aDialogs[ 2 ]:Move( oFld:nFdHeight - 1, 1 ) ;
      VALID .F.
  oFld:aDialogs[ 2 ]:SetSize( oFld:nWidth() - 4, ;
                oFld:nHeight() - oFld:nFdHeight - 2 )
RETURN nil
*+ Ende der Datei: testfld9.prgHello Uwe,
in the STYLE clause of the sub dialogs the define WS_CHILD must be set.
After changing something in the testfld9.rc with the 'Resource Builder' this define disappears.
PS: Using a modified 32bit version of CLICK! by Phil Barnett since years, it works fine for me ![]()

Dear Mr.Uwe
I think Mr.Frank has used Rapidshare instead of ImageShack to host the image and that's the reason the image is not getting displayed in his posts.
REgards
Anser

Hello Anser, hello Uwe,
yes, using rapidshare! For me it is working fine. Shall I have to use ImageShack too?
Hello Frank,
I was only a little bit confused, because I couldn't see a screenshot to give You a right answer to Your question.
I store all images inside a subdirectory : < /pictures > of my website, to control what i want to show.
Meanwhile, there are some hundreds of images.
It is impossible for me, to control this with rapidshare.
Maybe just look for a solution, of a straight display ?
Best Regards
Uwe ![]()
