Search found 21 matches: itemsize

Return to advanced search

Re: Folder Itemsize

very good :-)
by Antonio Linares
Sun Feb 07, 2010 11:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Thank Antonio,
The workaround ist working fine! :D
Dietmar
by Dietmar Jahnel
Sun Feb 07, 2010 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Dietmar,

Please don't use this code:
Code: Select all  Expand view

SuchFolder:nFdHeight += 35
 

Do it as explained here:
viewtopic.php?p=94168#p94168
by Antonio Linares
Sun Feb 07, 2010 7:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

REDEFINE Folder SuchFolder ID 210 OF sDlg UPDATE;                Prompts " Entscheidungen/Literatur " , " Gesetzessuche ", " Kommentare " ;                DIALOGS "Suchschirm2", "Gesetzessuche", "Kommentare";                OPTION 1;      ...
by Dietmar Jahnel
Thu Feb 04, 2010 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Dietmar, Please try it this way:     ACTIVATE DIALOG oDlg CENTER ;       ON INIT AEval( oFolder:aDialogs, { | o | o:Move( o:nTop + 5, o:nLeft ), o:nHeight -= 4 } )  This is a workaround to see if we recover that missing line. Later on we w...
by Antonio Linares
Wed Feb 03, 2010 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Dietmar,

Please wait, I am testing the code myself and there is something wrong...

I am checking it
by Antonio Linares
Wed Feb 03, 2010 8:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

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: 3533

Re: Folder Itemsize

Is the line still erased ? Please post a screenshot, thanks


here it is, at the buttom is is not grey but white

Image
by Dietmar Jahnel
Wed Feb 03, 2010 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

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: 3533

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: 3533

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                          ;        PR...
by Antonio Linares
Wed Feb 03, 2010 12:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Code: Select all  Expand view

function DrawPBack()
return nil
 

This way no fill painting will be done and we can check if the line is visible. Thanks for your feedback :-)


Sorry, same result, the line is not visible,
Dietmar
by Dietmar Jahnel
Wed Feb 03, 2010 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Dietmar, When clause TRANSPARENT is used on the folder, it sets all the contained dialogs to call DrawPBack() to fill each dialog surface. This function may be erasing that line. To check it, please add this dummy function to your main PRG: function DrawPBack()return nil  This way no fi...
by Antonio Linares
Wed Feb 03, 2010 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

with 19 the painting is ok, but this is standard size.
In our case 25 would look a lot better. We use this in another folder, where transparent is not needed.
The TRANSPARENT-clause seems to erase the line under the folders??
Can this be fixed?
Dietmar
by Dietmar Jahnel
Wed Feb 03, 2010 10:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533

Re: Folder Itemsize

Dietmar, Ok, Now I see what you mean, thanks :-) Using 20, instead of 25, seems to improve it     ACTIVATE DIALOG oDlg CENTER;       On INIT IIF(IsThemeActive(), oFolder:SetItemsize( ,20 ), ) //---> changed  http://img521.imageshack.us/img521/9811/captureix....
by Antonio Linares
Wed Feb 03, 2010 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Folder Itemsize
Replies: 20
Views: 3533
Next

Return to advanced search