tsbrowse & picture & array

tsbrowse & picture & array

Postby goosfancito » Sun Mar 19, 2006 8:21 pm

Amigos,

Porque este codigo:
Code: Select all  Expand view
      REDEFINE BROWSE oBrw ID 110 OF oDlg font oFonts[ 01 ] cell

         oBrw: SetArray( aDatos )

         ADD COLUMN TO BROWSE oBrw DATA Array element 1 head "Codigo" width 80;
            align DT_LEFT, DT_CENTER, DT_CENTER;
            3DLOOK FALSE, FALSE, FALSE;
            picture "99/99/9999";
            MOVE DT_MOVE_NEXT;
            FOOTER "Totales->"


Pero cuando saco la parte que dice PICTURE "99/99/9999" me funciona perfectamente.

PROBLEMA: cuando hago cursos para arriba me aparece esta hermosa pantalla.

Image
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Postby goosfancito » Fri Mar 24, 2006 11:43 am

Respuesta:
Estaba moviendome mal en el array cuando definia los valores, tenia un array:

Code: Select all  Expand view
LOCAL aDatos:= array( 25, 06)
LOCAL nItem

for nItem:= 1 to 06


Y en realidad es de 1 a 25

Code: Select all  Expand view
for nItem:= 1 to 25


Gracias por las aclaraciones FGONDI.
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm


Return to FiveWin para Harbour/xHarbour

Who is online

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