FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Resize TFolder() / TFolderEx() : Dialogs
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Resize TFolder() / TFolderEx() : Dialogs
Posted: Fri Feb 10, 2023 11:57 PM
hi,

when resize TFolder() / TFolderEx() i need to resize ::Dialogs too
Code (fw): Select all Collapse
    FOR ii := 1 TO LEN( oTab:aDialogs )
      oTab:aDialogs[ ii ]:SetSize( ??? , ??? )
   NEXT
but how to get ::Dialogs new Size :?:
greeting,

Jimmy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Resize TFolder() / TFolderEx() : Dialogs
Posted: Sat Feb 11, 2023 11:10 AM

Dear Jimmy,

Please try:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Resize TFolder() / TFolderEx() : Dialogs
Posted: Sun Feb 12, 2023 05:29 AM
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Resize TFolder() / TFolderEx() : Dialogs
Posted: Mon Feb 13, 2023 08:21 AM
This is the size FWH uses:
Code (fw): Select all Collapse
      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

Continue the discussion