FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH display line with record info outside the dialog
Posts: 60
Joined: Fri Oct 07, 2005 05:38 AM
FWH display line with record info outside the dialog
Posted: 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
   
 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
Posts: 60
Joined: Fri Oct 07, 2005 05:38 AM
FWH display line with record info outside the dialog
Posted: Fri Jul 07, 2006 11:04 AM
Problem resolved.
:-)
I remove
oLbx:GoBottom()


and now is OK

regards Eugeniusz
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
FWH display line with record info outside the dialog
Posted: Fri Jul 07, 2006 01:17 PM
Eugeniusz Owsiak wrote:Problem resolved.
:-)
I remove
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

Continue the discussion