FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with clause 'DESIG' in new version FWH 8.04
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM

Problem with clause 'DESIG' in new version FWH 8.04

Posted: Thu Apr 17, 2008 03:16 PM
Hi, all

when the control is placed in parent control as FOLDER or GROUP
the coordinated of control are wrong and rectangle generated
from function CtrlDrawFocus is out of position.
I enclose a little example.

Regards

#include "fivewin.ch"
#include "folder.ch"

function Main()

   local oDlg
   local oFld

   DEFINE DIALOG oDlg ;
          TITLE "Test Folder Design" ;
          FROM 5, 5 TO 25, 49 

   @  1, 1 FOLDER oFld ;
           PROMPT "Pag. 1", "Pag. 2" ;
           OF     oDlg SIZE 160, 90

   ACTIVATE DIALOG oDlg CENTERED ON INIT Pagefold(oFld)

return nil

FUNCTION PageFold(oFld)
   
   LOCAL cVar1 := "Testing pag.1"
   LOCAL oGet1
   LOCAL cVar2 := "Testing pag.2"  
   LOCAL oGet2

   @ 1, 2 SAY "Lab.1  "       OF  oFld:aDialogs[ 1 ] 
   @ 1, 8 GET oGet1 VAR cVar1 OF  oFld:aDialogs[ 1 ]   SIZE 120, 20  
   
   @ 1, 2 SAY "Lab.2  "       OF  oFld:aDialogs[ 2 ] 
   @ 1, 8 GET oGet2 VAR cVar2 OF  oFld:aDialogs[ 2 ]   SIZE 120, 20  DESIGN

RETURN nil
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Problem with clause 'DESIG' in new version FWH 8.04

Posted: Thu Apr 17, 2008 05:46 PM

Mauri,

Are you testing in XP or Vista ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 181
Joined: Thu Apr 17, 2008 02:38 PM

Problem with clause 'DESIG' in new version FWH 8.04

Posted: Thu Apr 17, 2008 07:56 PM

Hi, Antonio

The problem is identical in XP and in Vista.

Regards

Continue the discussion