Search found 18 matches: nfdheight

Return to advanced search

Re: Folder:AddItem new ::Dialogs Position

hi Antonio,
Antonio Linares wrote:So if you modify DATA nFdHeight you could change its position automatically

ok, thx for Answer
by Jimmy
Tue Feb 14, 2023 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder:AddItem new ::Dialogs Position
Replies: 2
Views: 187

Re: Folder:AddItem new ::Dialogs Position

... 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 ...
by Antonio Linares
Mon Feb 13, 2023 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder:AddItem new ::Dialogs Position
Replies: 2
Views: 187

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

... 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
by Jimmy
Sun Feb 12, 2023 5:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resize TFolder() / TFolderEx() : Dialogs
Replies: 3
Views: 315

Re: Folders multilinea

Y podemos ajustarlo modificando el dato nFdHeight del folder: test.prg #include "FiveWin.ch" function Main()    local oDlg, oFld1, oFld2      DEFINE DIALOG oDlg RESOURCE "Test"    REDEFINE FOLDER oFld1 ;      PROMPTS ...
by Antonio Linares
Fri Jun 25, 2010 9:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Folders multilinea ( Solved )
Replies: 25
Views: 8084

Re: Multiline Folders

Hi everybody, The problem is at Initiate Method. ::nHeight() - ::nFdHeight() - 4 If I change to -22 fixes this ONLY when folder is multiline, otherwise any "normal" folder looks wrong at bottom. It needs a validation when is multiline and when ...
by Raymundo Islas M.
Mon May 24, 2010 2:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiline Folders
Replies: 32
Views: 7378

Re: Folder Itemsize

Dietmar,

Please try to increase oFolder:nFdHeight with larger values, i.e.:

oFolder:nFdHeight += 15

Do it after the REDEFINE FOLDER ... command. You should notice that the contained dialogs top margins change.
by Antonio Linares
Wed Feb 03, 2010 8:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3541

Re: Folder Itemsize

Dietmar,

oFolder:nFdHeight keeps the height value of the tabs but does not modify it. That value is used to place the top margin of the contained dialogs.

Is the line still erased ? Please post a screenshot, thanks
by Antonio Linares
Wed Feb 03, 2010 1:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3541

Re: Folder Itemsize

   oFolder:nFdHeight += 5

try with different values there, thanks :-)


This one does not change the itemsize but the last 5 pixel at the bottom of the folder are not painted..
D.
by Dietmar Jahnel
Wed Feb 03, 2010 1:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3541

Re: Folder Itemsize

Dietmar, Then it means that DrawPBack() is not erasing that line. Lets modify oFolder:nFdHeight which holds the height of the tabs to position the contained dialogs:    REDEFINE FOLDER oFolder             ;        ID 102                           ;        OF oDlg   ...
by Antonio Linares
Wed Feb 03, 2010 12:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3541

Soilucionado

... if ::lPaint FoldPaint( ::hWnd, ::hDC, ::aPrompts, ::oFont:hFont,; ::oFont2:hFont, ::nClrPane, ::nOption, ::aEnable, ::nTabSize,; ::lWin95Look, ::nFdHeight ) endif return nil y el ON init oFold:lPaint:=.t. , oFold:Hide() , oFold:Show() y me queda un TPAGES que lo manjejo con oFold:SetOption desde ...
by Vladimir Zorrilla
Wed Nov 19, 2008 9:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soilucionado
Replies: 1
Views: 540

SR. ANTONIO, oFolder:nFdHeight = 40 // prueba con distintos valores oFolder:ReSize( , oFolder:nWidth, oFolder:nHeight ) Desde ON INIT, resouveu o problema, porém isso é palheativo. Assim que a classe TFOLDER for corrigida o senhor poderia ...
by MGA
Mon Jun 23, 2008 1:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: fwh\samples\testfldm.prg - bug com tema clássico do windows
Replies: 8
Views: 1565

Prueba a hacer lo siguiente,
despues de crear el folder modifica su DATA nFdHeight

oFolder:nFdHeight = 40 // prueba con distintos valores
oFolder:ReSize( , oFolder:nWidth, oFolder:nHeight )

Vamos a buscar la forma de obtener el dato nFdHeight automaticamente
by Antonio Linares
Mon Jun 23, 2008 11:50 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: fwh\samples\testfldm.prg - bug com tema clássico do windows
Replies: 8
Views: 1565

Ciao Otto

I use a Big Font and

oFld:nFdHeight := 35

Maurizio
by Maurizio
Fri Feb 01, 2008 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder SetItemSize
Replies: 2
Views: 585

Dear Maurizio & Antonio,

- oFld:nFdHeight is not fix Tab Header Width.
- Add space is not fixed correctly even use Courier FONT but this is the best way we can now.

Thanks & regards,
Dutch
by dutch
Tue Sep 04, 2007 3:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How can I set header tab size.
Replies: 6
Views: 1201

I use

oFld:nFdHeight := 35

regards MAurizio
by Maurizio
Mon Sep 03, 2007 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How can I set header tab size.
Replies: 6
Views: 1201
Next

Return to advanced search