Hi Antonio, James and friends!
I have a little doubt... When I try to check a TVItem, the fivewin gives me the following error:
I'm using like this: oTree:setCheck( oItem, .T. )
The method setCheck above returns a error for the oItem:hWnd
I have a little doubt... When I try to check a TVItem, the fivewin gives me the following error:
Application
===========
Path and name: C:\xGenesis\genesis.EXE (32 bits)
Size: 1,409,536 bytes
Time from start: 0 hours 0 mins 42 secs
Error occurred at: 26/08/2008, 11:57:28
Error description: Error BASE/1004 Message not found: TTVITEM:HWND
Stack Calls
===========
Called from: source\rtl\tobject.prg => TTVITEM:ERROR(172)
Called from: source\rtl\tobject.prg => TTVITEM:MSGNOTFOUND(181)
Called from: source\rtl\tobject.prg => TTVITEM:HWND(0)
Called from: .\source\classes\TTreeVie.PRG => (b)TTREEVIEW:TTREEVIEW(0)
Called from: => TTREEVIEW:SETCHECK(0)I'm using like this: oTree:setCheck( oItem, .T. )
The method setCheck above returns a error for the oItem:hWnd
METHOD SetCheck( oItem, lOnOff ) INLINE ;
If( oItem == nil, oItem := ::GetSelected(), nil ), ;
TVSetCheck( ::hWnd, oItem:hWnd, lOnOff )Peace and lighting!
JĂșlio CĂ©sar M. Ferreira
FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
JĂșlio CĂ©sar M. Ferreira
FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9