On Thu, 12 Sep 2013 06:39:55 +0100
Richard Mace richard.m...@gmail.com wrote:
[...]
procedure TfrmMain.tvMainSelectionChanged(Sender: TObject);
begin
Sender is the tvMain.
if Assigned(TTreeNode(Sender).Data) then
ShowMessage('Node ' + IntToStr(TUser(TTreeNode(Sender).Data).Id));
2013/9/11 Jürgen Hestermann juergen.hesterm...@gmx.de
On
http://wiki.freepascal.org/**VirtualTreeview_Example_for_**Lazarushttp://wiki.freepascal.org/VirtualTreeview_Example_for_Lazarus
there is the following example procedure:
--**--
procedure
Am 2013-09-12 14:50, schrieb Frederic Da Vitoria:
Can someone explain what the line
if VST.AbsoluteIndex(XNode) -1 then
actually means?
I didn't look at the code, but usually index = -1 means that the item was not
found. So maybe AbsoluteIndex's result should actually be
2013/9/12 Jürgen Hestermann juergen.hesterm...@gmx.de
Am 2013-09-12 14:50, schrieb Frederic Da Vitoria:
Can someone explain what the line
if VST.AbsoluteIndex(XNode) -1 then
actually means?
I didn't look at the code, but usually index = -1 means that the item
was not found. So
@Mattias
The bug came back again.
Em 24-08-2013 19:40, Junior escreveu:
test ok.
Em 24-08-2013 15:50, Mattias Gaertner escreveu:
On Fri, 23 Aug 2013 07:14:02 -0300
Junior lazarus.li...@gmail.com wrote:
Lazarus 1.1 r42442M FPC 2.6.2 i386-linux-gtk 2
When opening a package, the window
Am 2013-09-12 17:51, schrieb Frederic Da Vitoria:
My remarks only come from my memories of how VirtualTreeView worked with
Delphi 6.
The code has obviously much changed since.
Are you sure? The function is quite simple:
-
I don't know which processor types are available for each CPU family.
I would need help filling the selection lists.
Please see details in :
http://bugs.freepascal.org/view.php?id=20311
Regards,
Juha
--
___
Lazarus mailing list
Juha Manninen wrote:
I don't know which processor types are available for each CPU family.
I would need help filling the selection lists.
Please see details in :
http://bugs.freepascal.org/view.php?id=20311
What do you need for this: fpc -i output?
--
Mark Morgan Lloyd
markMLl .AT.
2013/9/12 Jürgen Hestermann juergen.hesterm...@gmx.de
Am 2013-09-12 17:51, schrieb Frederic Da Vitoria:
My remarks only come from my memories of how VirtualTreeView worked with
Delphi 6.
The code has obviously much changed since.
Are you sure? The function is quite simple:
On Thursday, September 12, 2013 11:36 AM, Jürgen Hestermann
juergen.hesterm...@gmx.de wrote:
I didn't look at the code, but usually index = -1 means that the item
was not found. So maybe AbsoluteIndex's result should actually be
signed?
And how would it
OK, I now have this code:
with
tvMain.Items.AddChildObject(tvMain.Selected,IntToStr(fUserList.Items[I].Id),Pointer(fUserList.Items[I].Id))
do
and this:
procedure TfrmMain.tvMainChange(Sender: TObject; Node: TTreeNode);
begin
if Assigned(Node.Data) then
ShowMessage('Node ' +
11 matches
Mail list logo