Jump to content

How to select and highlight an item in TUnimNestedList?


neo4a

Recommended Posts

No problem to set an item of TUnimNestedList as:

aItem.selected := true;

But which js-call I have to use to visual show this item as selected because uniGUI wont't handle that?

(BTW, no problem if I click on this item but I want to do that by code.)

Thank you.

Link to comment
Share on other sites

1 hour ago, neo4a said:

No problem to set an item of TUnimNestedList as:

aItem.selected := true;

But which js-call I have to use to visual show this item as selected because uniGUI wont't handle that?

(BTW, no problem if I click on this item but I want to do that by code.)

Hi,

Can you please clarify your question once again?

Link to comment
Share on other sites

Maybe something like this:

procedure TMainmForm.UnimButton1Click(Sender: TObject);
var
  n: TUniTreeNode;
begin
  n := UnimNestedList1.Items[3];
  n.Selected := True;
  
  with UnimNestedList1 do
  begin
    JSInterface.JSCall('getActiveItem().select', [n.Id]);
    JSInterface.JSCall('getActiveItem().ensureVisible', [n.Id]);
  end;
end;

 

Link to comment
Share on other sites

Perfect.

2 minutes ago, Sherzod said:

Maybe something like this:

Perfect. It is working now. Thanks.

But from a point of view of a delphi developer it should be done with

UnimNestedList1.Items[3].Selected := True;

without any additional js-call, isn't it?!

Link to comment
Share on other sites

11 minutes ago, Sherzod said:

Yes.

Can you please open a ticket in support portal?

Regards,

Done.

Does that get the same attention as the other bug reports that have been unanswered there for months?

SCNR.

Link to comment
Share on other sites

1 minute ago, neo4a said:

Does that get the same attention as the other bug reports that have been unanswered there for months?

Sorry, please remind me of your tickets.

Have you received from us at least workarounds for them?

Link to comment
Share on other sites

15 hours ago, Sherzod said:

Sorry, please remind me of your tickets.

Have you received from us at least workarounds for them?

REMINDER. :biggrin:

And no, there was no re-/action at all.

Link to comment
Share on other sites

47 minutes ago, neo4a said:

REMINDER. :biggrin:

And no, there was no re-/action at all.

Ok, 

One of your issues for example: "Wrong time line in TUniCalendarPanel"

Have you tested with the recent version of uniGUI?

You also did not respond.

Link to comment
Share on other sites

23 minutes ago, Sherzod said:

Ok, 

One of your issues for example: "Wrong time line in TUniCalendarPanel"

Have you tested with the recent version of uniGUI?

You also did not respond.

My ticket status is unchanged (seen, in progress, solved). And my last test with rel 1.7xx or so failed. So what to respond?

And to complete this off topic discussion: If a forum moderator see that a forum thread is rising a bug in your product why it's up to the customer to open a ticket? Are the moderators unable to do this?

Link to comment
Share on other sites

Which build are you using now?

 

16 minutes ago, neo4a said:

And to complete this off topic discussion: If a forum moderator see that a forum thread is rising a bug in your product why it's up to the customer to open a ticket? Are the moderators unable to do this?

OK. Perhaps you're right. 

If you find a bug..., let us know, I will open a ticket. Thank you.

Link to comment
Share on other sites

1 minute ago, Sherzod said:

Which build are you using now?

 

OK. Perhaps you're right. 

If you find a bug..., let us know, I will open a ticket. Thank you.

FMSoft_uniGUI_Complete_Professional_1.90.0.1505

There are 4 bug tickets of me right now.

Link to comment
Share on other sites

1 hour ago, Sherzod said:

I will also analyze your tickets again, but please, if you did not attach testcases, can you make and attach if possible?!

Yes, I can.

And here are one of my wishes, because of intransparent ticket system in form of a customer oriented wiki:

select bug, feature, solution from unigui 
where doc = false 
ordered by classname, date

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...