Dear Antonio,
I am trying to incorporate 'PIM.PRG' in my application.
Some parts of the PIM.PRG are not working when I add PIM
in my main project. But as a independent sample, it is working
fine.
The following oTree:bChanged line is not working at all:
oTree:bChanged = { | oItem | oItem := oTree:GetSelected(),;
if( oItem != nil, ;
if( !Empty( oItem:Cargo ), ;
oMemo:LoadRTF( oItem:Cargo, !oMemo:IsTextRtf( oItem:Cargo ) ), ;
oMemo:SetText( "" ) ), oMemo:SetText( "" ) ) }
and also I am not able to edited the text of a node with the following function:
function TreeEditItem( oTree )
local oItem := oTree:GetSelected()
if oItem != nil
PostMessage( oTree:hWnd, TVM_EDITLABEL, 0, oItem:hItem )
endifreturn nil
I don't know why it is not working when I include pim in my project.
Please advise me.
Regards,
-Ramesh Babu