Problem with clause 'DESIG' in new version FWH 8.04

Problem with clause 'DESIG' in new version FWH 8.04

Postby mauri.menabue » Thu Apr 17, 2008 3: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

Code: Select all  Expand view  RUN
#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
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm

Postby Antonio Linares » Thu Apr 17, 2008 5:46 pm

Mauri,

Are you testing in XP or Vista ?
regards, saludos

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

Postby mauri.menabue » Thu Apr 17, 2008 7:56 pm

Hi, Antonio

The problem is identical in XP and in Vista.

Regards
User avatar
mauri.menabue
 
Posts: 155
Joined: Thu Apr 17, 2008 2:38 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Willi Quintana and 73 guests