FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour 2 Problems with TFolderex and FWH11.03
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
2 Problems with TFolderex and FWH11.03
Posted: Mon Apr 04, 2011 03:29 PM
Hi,

with TFolderex I've got 2 problems in displaying:

1) The last character of each of the say-items on the folder is missing. All resources are stored in a .rc-file. This was not happening with the fwh10.09 I used before. And it isn't happening in fwh11.03 with TFolder (look at the red marking lines in the screenshots) (This problem is new with FWH11.03) (and behind the say-items, there is enough space for painting another 2-3 characters, I checked it in my resources)

2) It seems it isn't possible anymore to disable say-items on a folder (whereas it's no problem to do at a normal dialog). Look at the red x-marks in the screenshots. (This behaviour was the same in fwh10.09)

The dialogs on the folders of TFolderex and TFolder are exactly the same ones

TFolderEx:


TFolder:
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Mon Apr 04, 2011 03:46 PM
Hello


it's already fixed

http://forums.fivetechsupport.com/viewtopic.php?p=112702#p112702

try download again FWH
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Mon Apr 04, 2011 03:54 PM
Daniel Garcia-Gil wrote:Hello


it's already fixed

http://forums.fivetechsupport.com/viewtopic.php?p=112702#p112702

try download again FWH


Thanks, obviously problem 1) is fixed.

But what about disabling a say on tfolderex?
Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
Posts: 274
Joined: Fri Apr 04, 2008 01:25 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Tue Apr 05, 2011 09:02 AM

Just downloaded the newest fwh11.03, but the problem still exists. (the tfoldex.prg in my \source-directory still has 2010-12-18 as it's date)
It looks, both my problems still exist...

Any other suggestions?

Best Regards,

Gilbert Kuhnert
CTO Software GmbH
http://www.ctosoftware.de
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Wed Jun 15, 2011 12:29 PM
Hello gkuhnert

to current fivewin version you can set FALSE the dialog transparence

sample
Code (fw): Select all Collapse
oFld:aDialogs[1]:lTransparent = .F.


to next version will be fix
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Wed Jun 15, 2011 03:47 PM

daniel ya que estamos con tfolderex, pudes hacer la prueba de un folder con un solo page
por lo menos en la version de dic/2010 falla.
ya se que no es logico un folder de un page. :-)

salu2
carlos vargas

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Wed Jun 15, 2011 09:54 PM
Hola

Code (fw): Select all Collapse
#include "FiveWin.ch"

#include "FiveWin.ch"

function main()
   local oWnd
   local oFld
   
   DEFINE WINDOW oWnd TITLE "TFolderex - Testing -"
     
   @ 3, 3 FOLDEREX oFld PIXEL ADJUST;
          PROMPT  "&Social" ;//, "&OS" , "&Games", "&Movies", "&Email", "Mo&nths", "Se&tting", "E&xit";
          TOP 

   ACTIVATE WINDOW oWnd
      
RETURN NIL
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Wed Jun 15, 2011 11:11 PM

yo probe por recursos :-)

salu2

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 845
Joined: Sun Oct 09, 2005 05:36 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Fri Aug 19, 2011 02:39 PM

Daniel,

estoy usando FolderEx, y creo un arreglo antes de abrir el dialogo, en ese arreglo cargo los prompts del folder, el caso es que puede ser de 1 a 20, y cuando es solo 1 prompt la clase envia un error, esto lo hago desde recursos, con codigo si funciona, hay alguna solucion?
gracias
pak.o

____________________

Paco
Posts: 845
Joined: Sun Oct 09, 2005 05:36 PM
Re: 2 Problems with TFolderex and FWH11.03
Posted: Fri Aug 19, 2011 06:27 PM

Carlos,
ya que vamos usando la folderex, claro que no suena lógico un folder de una pestaña, pero mi proceso asi lo requiere, aparte que tiene excelente pinta y me gusta, entonces le hice un pequeño engaño al folderex para cuando me queda solo 1 pestaña, a ver si te parece la idea, a mi me funcionó y me solucionó el problema mientras esperemos y se corrija la clase...
ahi va
si mi arreglo es de solo 1 registro, le agrego uno mas sin nombre, luego ya creado el folder lo oculto y nomas aparece 1 pestaña, en codigo me quedo asi:
se me paso utilizo una variable logica para saber si el arreglo es de solo 1 registro:

lUno := .F.

IF LEN(aPrompts) == 1
AADD( aPrompts, "" )
lUno := .T.
ENDIF

DEFINE DIALOG oDls .....bla bla bla

oFolder := TFolderEx():Redefine(100,oDls,aDialogs,,aPrompts,40,,5)

 IF lUno
    oFolder:aEnable  := { .T., .F. }
    oFolder:aVisible  := { .T., .F. }
 ENDIF

ACTIVATE DIALOG oDls

asi m ero y me va excelente, jejeje pequeño truco
salu2
pak.o

____________________

Paco

Continue the discussion