Hello I trying to implement virtualtree on my app i follow the wiki and make test app running wood but at my app send me this error i don't know what was my mistake.
fassypart.pas(140,36) Warning: Comparison might be always true due to range of constant and expression
Var tsql:Tsqlquery;
Data: PLRegisterData;
XNode: PVirtualNode;
XNode := VSTPL.AddChild(nil);
if VSTPL.AbsoluteIndex(XNode) > -1 then begin // this line error
Data := VSTPL.GetNodeData(Xnode);
// showmessage(inttoSTr(RxMPLNK.FieldByName('RxPLItem').AsInteger));
Data^.RxPLItem := '';
Data^.RxPlQty := RxMPLNK.FieldByName('RxPlQty').AsInteger;
Data^.RxPlpnPartNumber := RxMPLNK.FieldByName('RxPnpartnumber').AsString;
Data^.RxCurrentCost := 0.00;
Data^.RxDetail := '';
Data^.RxTitle := '';
Data^.RxPlType := '';
end;
how to change that property or what is me mistake.
thanks