I'm new to FiveWin and i got into trouble with listboxes:
I have a program with this code:
- Code: Select all Expand view RUN
#include "FWCE.ch"
REQUEST DBFCDX
STATIC oWnd, oBrw
function Main()
USE ( CurDir() + "\dbfs\pedido" ) alias pedido VIA "DBFCDX"
desenhar_janela()
ACTIVATE WINDOW oWnd
return nil
function desenhar_tabela()
.
.
@ 70, 3 LISTBOX oBrw FIELDS pedido->cama HEADERS "Cama" ;
SIZE 237, 150 pixel
.
.
return nil
where: pedido is a DBF table with a field called "cama" and 3 records on it.
I open the table in the
All seems to work fine, but all i see is the listbox space with the "Cama" header, nut no records on it.
What am i doing wrong?
Thank you,
Joaquim