FWH display line with record info outside the dialog

FWH display line with record info outside the dialog

Postby Eugeniusz Owsiak » Fri Jul 07, 2006 10:15 am

I use ListBox in dialog and at activating this dialog I get a line with record info outside the dialog and main window. Can anybody tell me what is the reason?

FWH 2.7, BCC 5.51, WinXP Pro

regards Eugeniusz
Code: Select all  Expand view  RUN
   
Define dialog oDlg name "L_DANE"
   REDEFINE LISTBOX oLbx;
          FIELDS  str(zf->nr_komp,6),zf->nzw,zf->konto,str(zf->brutto,9,2),zf->podatekp,str(zf->kwota,9,2),dtoc(zf->data),zf->tytul;
          HEADERS "Numer", "Nazwisko",     "Numer konta ROR ","Brutto","Pod", "Kwota", "Data przelewu","Tytuł przelewu" ;
          FIELDSIZES 45,    150,        200,               60, 30,60,                80,270 ;
          ID 601 OF oDlg //UPDATE
   redefine button id 602 of oDlg action (Nowy(oLbx,.T.),oLbx:Refresh())
   redefine button id 603 of oDlg action (Nowy (oLbx,.F.),oLbx:Refresh())
   redefine button id 604 of oDlg action (Kasuj(oLbx),oLbx:Refresh())
   redefine button id 605 of oDlg action (Eksport(oLbx),oLbx:Refresh())
   redefine button id 606 of oDlg action (Raport(oLbx),oLbx:Refresh())
   redefine button id 607 of oDlg action (Raportpod(oLbx),oLbx:Refresh())
   redefine button id 608 of oDlg action (oLbx:End(),oDlg:End())
   oLbx:GoBottom()

   ACTIVATE DIALOG oDlg

User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Eugeniusz Owsiak » Fri Jul 07, 2006 11:04 am

Problem resolved.
:)
I remove
Code: Select all  Expand view  RUN
oLbx:GoBottom()


and now is OK

regards Eugeniusz
User avatar
Eugeniusz Owsiak
 
Posts: 60
Joined: Fri Oct 07, 2005 5:38 am
Location: Poland

Postby Detlef Hoefner » Fri Jul 07, 2006 1:17 pm

Eugeniusz Owsiak wrote:Problem resolved.
:)
I remove
Code: Select all  Expand view  RUN
oLbx:GoBottom()


and now is OK

regards Eugeniusz

Eugeniusz,

depending on the rdd you are using, you should provide the correct value to the oLbx:bLogicLen block.
So it should not be a problem to do a oLbx:GoBottom().

Regards,
Detlef
User avatar
Detlef Hoefner
 
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests