Jump to content


Heleena

Member Since 09 Jul 2007
Offline Last Active Jan 08 2008 05:20 PM
-----

Topics I've Started

Focus not set on the selected item

11 July 2007 - 07:25 AM

Hi Boki,


I have the following structure to be displayed in a TNxInspector control

There are three main nodes, and the sub items under these nodes are of the given structure. There may be more than
25 such items. All items are included at run time.

Main category 1
- Item 1 TNxColorItem
- Item 2 TNxColorItem
- Item 3
-- Attribute 1 TNxComboboxItem
-- Attribute 2 TNxComboboxItem
-- Attribute 3 TNxComboboxItem
---
---
---
Main category 2
- Item 1 TNxColorItem
- Item 2 TNxColorItem
- Item 3
-- Attribute 1 TNxComboboxItem
-- Attribute 2 TNxComboboxItem
-- Attribute 3 TNxComboboxItem
---
---
---
Main category 3
- Item 1 TNxColorItem
- Item 2 TNxColorItem
- Item 3
-- Attribute 1 TNxComboboxItem
-- Attribute 2 TNxComboboxItem
-- Attribute 3 TNxComboboxItem
---
---
---

My problem here is,

- If all the nodes are expanded, I can select an item easily by clicking on to it.
- If I collapse a node, for e.g., Main Category 1, and try to select an item under Main Category 2,
focus is not on the selected item, but it moves somewhere else. [In other words, couldn't select a specific item by clicking on to it]. Can you please look into it?
- Also, is there a way to disable mouse wheel selection of combobox items?


Regards,
Heleena.