FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error with 3 FOLDEREX
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
error with 3 FOLDEREX
Posted: Sun Feb 10, 2013 10:04 PM
I use 3 FolderEx contro into a Dialog and it make a strange Error

Application
===========
Path and name: C:\Work\Errori\TEST_FLD\TEST.Exe (32 bits)
Size: 1,820,160 bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
FiveWin Version: FWHX 12.03
Windows version: 6.1, Build 7600

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 02/10/13, 23:03:27
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... }
[ 2] = N 1

Stack Calls
===========
Called from: .\source\classes\TFOLDEX.PRG => TFOLDEREX:DEFAULT( 753 )
Called from: .\source\classes\TFOLDEX.PRG => TFOLDEREX:INITIATE( 975 )
Called from: => __OBJSENDMSG( 0 )
Called from: => HB_EXECFROMARRAY( 0 )
Called from: .\source\function\HARBOUR.PRG => OSEND( 219 )
Called from: => HB_EXECFROMARRAY( 0 )
Called from: .\source\function\HARBOUR.PRG => ASEND( 197 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 630 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 870 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 270 )
Called from: TEST.PRG => TEST( 45 )


If I change the last FolderEx control into normal Folder th e test run ok

the test

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


#define LIGHTCYAN            nRGB( 203, 225, 252 )

Function Test()

Local oDlg

Local oFld[3]
Local oFnt,oFnt1



    DEFINE FONT oFnt1 NAME "Verdana" SIZE 0, -12


        DEFINE DIALOG oDlg        ;
        TITLE "test folderex"   ;
         GRADIENT { { 1,CLR_WHITE, LIGHTCYAN } }    ;
        SIZE 720, 700   PIXEL               ;
        FONT oFnt1  ;
        TRANSPARENT


        @ 3, 4  FOLDEREX oFld[1] PIXEL   ;
         ITEMS "&Billing","Shipping";
         SIZE 120,100

        @ 3, 270  FOLDEREX oFld[2] PIXEL   ;
         ITEMS "&Invoice";
         SIZE 150,100

          @ 234, 4  FOLDEREX oFld[3] PIXEL   ;
         ITEMS "&Comments","Private comments";
         SIZE 100,30

          ACTIVATE DIALOG oDlg CENTERED

RETURN NIL
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: error with 3 FOLDEREX
Posted: Sun Feb 10, 2013 10:33 PM
Silvio

the last folderex height is small

Code (fw): Select all Collapse
SIZE 100,30


try with SIZE 100,100
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: error with 3 FOLDEREX
Posted: Mon Feb 11, 2013 07:58 AM

SAME ERROR

@ 3, 4 FOLDEREX oFld[1] PIXEL ;
ITEMS "&Billing","Shipping";
SIZE 120,100

    @ 3, 270  FOLDEREX oFld[2] PIXEL   ;
     ITEMS "&Invoice";
     SIZE 150,100

      @ 234, 4  FOLDEREX oFld[3] PIXEL   ;
     ITEMS "&Comments","Private comments";
     SIZE 100,100
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: error with 3 FOLDEREX
Posted: Mon Feb 11, 2013 08:01 AM

to run goo I must make SIZE 120,100
and the folder is too big !!!

I wish nheight more small than nwidth

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion