error with 3 FOLDEREX

error with 3 FOLDEREX

Postby Silvio.Falconi » 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: Select all  Expand view

#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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: error with 3 FOLDEREX

Postby Daniel Garcia-Gil » Sun Feb 10, 2013 10:33 pm

Silvio

the last folderex height is small

Code: Select all  Expand view
SIZE 100,30


try with SIZE 100,100
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: error with 3 FOLDEREX

Postby Silvio.Falconi » Mon Feb 11, 2013 7: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: error with 3 FOLDEREX

Postby Silvio.Falconi » Mon Feb 11, 2013 8: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 99 guests