In testtcbr.prg in the fwh\samples folder, it calls the function BROWSE()
The MODIFY, DELETE and PRINT buttons work, and I can't see what functions are called.
When I put BROWSE() in my app, none of the buttons do anything.
Why?
BROWSE() in testtcbr.prg
BROWSE() in testtcbr.prg
Many thanks
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Ollie.
Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Ollie,
Because inside function Browse() some codeblocks are defined by default:
Because inside function Browse() some codeblocks are defined by default:
Code: Select all
DEFAULT cTitle := "Browse", cListName := "Fields",;
bNew := { || oLbx:RecAdd(), oLbx:Refresh() },;
bDelete := { || RecDelete( oLbx ) },;
bModify := { || RecModify( oLbx ) },;
bList := { || Report( oLbx ) }