Resize TFolder() / TFolderEx() : Dialogs

Post Reply
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Resize TFolder() / TFolderEx() : Dialogs

Post by Jimmy »

hi,

when resize TFolder() / TFolderEx() i need to resize ::Dialogs too

Code: Select all | Expand

    FOR ii := 1 TO LEN( oTab:aDialogs )
      oTab:aDialogs[ ii ]:SetSize( ??? , ??? )
   NEXT
but how to get ::Dialogs new Size :?:
greeting,
Jimmy
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Resize TFolder() / TFolderEx() : Dialogs

Post by Antonio Linares »

Dear Jimmy,

Please try:

oTab:aDialogs[ ii ]:SetSize( nWidth, nHeight )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

Re: Resize TFolder() / TFolderEx() : Dialogs

Post by Jimmy »

hi Antonio,

thx for Answer

my Question is : what Size does a ::Dialogs have :?:

let´s say i create a TFolder() / TFolderEx() with Size 100 x 100
TFolderEx() have "nFolderHeight" but TFolder() not so how to "calculate" Size of ::Dialogs

---

have found "nFdHeight" in TFolder() ,,, have different Name
greeting,
Jimmy
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Resize TFolder() / TFolderEx() : Dialogs

Post by Antonio Linares »

This is the size FWH uses:

Code: Select all | Expand

      DEFINE DIALOG oDlg OF Self STYLE WS_CHILD ;
         FROM 0, 0 TO oThis:nHeight - oThis:nFdHeight - 5, oThis:nWidth - 6 PIXEL
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply