TFolderEx: Problems with Labels

TFolderEx: Problems with Labels

Postby gkuhnert » Tue Jul 26, 2011 9:23 am

Hi,

I still experience some problems with the display of labels in TFolderEx.
As soon as I check a checkbox on a folder the text of the labels gets bold.

Have a look on the screenshots. You see on the right image the labels are bold (enabled and disabled) whereas on the left image everything is as it should (before clicking the checkbox)
Image

and for my sourcecode view testfx8.prg:
Code: Select all  Expand view
#include "FIVEWIN.CH"

FUNCTION MAIN()

   local oDlg, oFld1, oSay, oSay2, oBtn, oCheck
    local lCheck := .f.

   DEFINE DIALOG oDlg RESOURCE "DIALOG0"

   REDEFINE FOLDEREX oFld1 ID 110 OF oDlg;
        PROMPT "&Clipper", "&Windows" DIALOGS "Sub1", "Sub2"

    REDEFINE SAY oSay ID 1001 OF oFld1:aDialogs[1] UPDATE
    REDEFINE SAY oSay2 ID 1004 OF oFld1:aDialogs[1] UPDATE
    oSay2:Disable()

    REDEFINE CHECKBOX oCheck VAR lCheck ID 1003 OF oFld1:aDialogs[1]

    REDEFINE BUTTON oBtn ID 1002 OF oFld1:aDialogs[1];
        ACTION (oSay:Disable(), oSay2:Enable()) // oFld:aDialogs[1]:Refresh()

    ACTIVATE DIALOG oDlg CENTERED

 


and my testfx8.rc:
Code: Select all  Expand view
DIALOG0 DIALOGEX 44,23,315,171
FONT 8,"MS Sans Serif"
LANGUAGE 7,1
STYLE WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU|DS_MODALFRAME|DS_3DLOOK
BEGIN
  CONTROL "",110,"TFOLDEREX",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,4,5,305,163
END

sub1 DIALOGEX 18,18,264,159
FONT 8,"MS Sans Serif"
LANGUAGE 7,1
STYLE WS_CHILDWINDOW|WS_VISIBLE|DS_3DLOOK
BEGIN
  CONTROL "Text",101,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|WS_TABSTOP|BS_AUTORADIOBUTTON,24,33,28,12
  CONTROL "this is a Label 1 with Information",1001,"Static",WS_CHILDWINDOW|WS_VISIBLE,24,60,165,9
  CONTROL "Click me",1002,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP,57,102,54,15
  CONTROL "Checkbox",1003,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_TABSTOP|BS_AUTOCHECKBOX,27,15,54,9
  CONTROL "this is a Label 2 with Information",1004,"Static",WS_CHILDWINDOW|WS_VISIBLE,24,75,168,9
END

sub2 DIALOGEX 18,18,273,150
FONT 8,"MS Sans Serif"
LANGUAGE 7,1
STYLE WS_CHILDWINDOW|WS_VISIBLE|DS_3DLOOK
BEGIN
  CONTROL "Text",102,"Button",WS_CHILDWINDOW|WS_VISIBLE|WS_GROUP|WS_TABSTOP|BS_AUTORADIOBUTTON,37,30,28,12
  CONTROL "Label 2",1001,"Static",WS_CHILDWINDOW|WS_VISIBLE,39,60,54,9
END
 
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby byte-one » Tue Jul 26, 2011 10:01 am

Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: TFolderEx: Problems with Labels

Postby gkuhnert » Tue Jul 26, 2011 10:14 am

Then this sample might be the small sample needed by Enrico to narrow down the problem :idea:
(btw: I'm using Win7 64Bit Professional)
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby Enrico Maria Giordano » Tue Jul 26, 2011 6:58 pm

Sorry, I get the following error running your sample:

Code: Select all  Expand view
Error: Unresolved external '_HB_FUN_CALPOS' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|tfoldex


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: TFolderEx: Problems with Labels

Postby gkuhnert » Wed Jul 27, 2011 7:22 am

Enrico Maria Giordano wrote:Sorry, I get the following error running your sample:

EMG


I'm using FW11.06 with FiveHX.lib and FiveHC.lib from 11.07 (which Antonio already sent me because of problems with the libs from 11.06). Maybe you should also ask Antonio for these libs or you send me an email so I would send you my libs.
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby gkuhnert » Wed Jul 27, 2011 11:58 am

Enrico,

I searched another time. This error obviously got fixed in FWH 10.07.
viewtopic.php?f=16&t=19450&p=102455&hilit=calpos#p102455
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby Enrico Maria Giordano » Wed Jul 27, 2011 1:55 pm

Latest official FWH release is 10.6.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: TFolderEx: Problems with Labels

Postby gkuhnert » Wed Jul 27, 2011 2:17 pm

Enrico Maria Giordano wrote:Latest official FWH release is 10.6.

EMG

Look at the year => 11.6 is the latest release. 10.7 is almost a year old 8)
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby MdaSolution » Wed Jul 27, 2011 3:03 pm

Exactly I sad to Daniel this error last year , it was never correct !!


Image
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: TFolderEx: Problems with Labels

Postby Enrico Maria Giordano » Wed Jul 27, 2011 3:18 pm

Enrico Maria Giordano wrote:Latest official FWH release is 10.6.

EMG


Sorry, I meant 11.6.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: TFolderEx: Problems with Labels

Postby Enrico Maria Giordano » Wed Jul 27, 2011 3:19 pm

gkuhnert wrote:Enrico,

I searched another time. This error obviously got fixed in FWH 10.07.
viewtopic.php?f=16&t=19450&p=102455&hilit=calpos#p102455


I'm using 11.6 and is obviously not fixed.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: TFolderEx: Problems with Labels

Postby gkuhnert » Thu Jul 28, 2011 7:51 am

Enrico Maria Giordano wrote:
gkuhnert wrote:Enrico,

I searched another time. This error obviously got fixed in FWH 10.07.
viewtopic.php?f=16&t=19450&p=102455&hilit=calpos#p102455


I'm using 11.6 and is obviously not fixed.

EMG

Maybe we should ask Antonio or who's responsible for TFoldEx. Because at my computer it's working fine. Do you experience the same difficulty with the fwh samples testfx(1-5).prg?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
User avatar
gkuhnert
 
Posts: 274
Joined: Fri Apr 04, 2008 1:25 pm
Location: Aachen - Germany // Kerkrade - Netherlands

Re: TFolderEx: Problems with Labels

Postby Enrico Maria Giordano » Thu Jul 28, 2011 11:36 am

Yes, I get

Code: Select all  Expand view
Error: Unresolved external '_HB_FUN_CALPOS' referenced from E:\FWHARBOUR\LIB\FIVEHX.LIB|tfoldex
Error: Unresolved external '_HB_FUN_XBROWSENEW' referenced from E:\FWXHARB\TEST.OBJ


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: TFolderEx: Problems with Labels

Postby MdaSolution » Sat Jul 30, 2011 4:26 pm

I not understood, it was corrected ?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: TFolderEx: Problems with Labels

Postby Antonio Linares » Sat Jul 30, 2011 7:38 pm

Gilbert,

It seems as the problem comes from function FixSays(). If you add this code in your app:

function FixSays()

return nil

then the SAYs don't overpaint

We are looking for the right fix to this problem, many thanks for your feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 30 guests