Hello,
I'm using a TNextGrid to display data, see attached screenshot 'Untitled.jpg'.
The user can hide some rows according to a filter's settings, see attached screenshot 'Untitled2.jpg'.
As you can see on 'Untitled.jpg' all of the rows are visible and there is no vertical scroll bar but when I hide some rows which means there are less visible rows a vertical scrollbar is shown 'untitled2.jpg'.
Could you please tell me how to fix this issue ?
Thanks.
- Bergsoft Forum
- → Viewing Profile: Topics: ag74
Community Stats
- Group Members
- Active Posts 9
- Profile Views 19,863
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Previous Fields
-
Which color is tomato?
red
0
Neutral
User Tools
Friends
ag74 hasn't added any friends yet.
Latest Visitors
No latest visitors to show
Topics I've Started
Hiding rows make TNextGrid to display a scroll bar
12 December 2013 - 11:35 AM
TNxTreeColumn: Display an icon next to the caption
04 December 2013 - 12:11 PM
Hello,
I use a TNextGrid with a TNxTreeColumn to display items in a tree style and everything works fine but I can't display an icon next to the caption.
I set the NxTreeColumn.Images property to an existing TImageList but I don't know how to specify which image index each cells are associated to.
The NextGrid draws a white rectangle instead of the icon, as when ImageIndex = -1.
I tried to set the image index using Cell[ Col ][ Row ]->AsInterger = 1 but it replaces the caption with the string "1".
Could you please tell me how to display an icon next to the caption of a TNxTreeColumn.
I use a TNextGrid with a TNxTreeColumn to display items in a tree style and everything works fine but I can't display an icon next to the caption.
I set the NxTreeColumn.Images property to an existing TImageList but I don't know how to specify which image index each cells are associated to.
The NextGrid draws a white rectangle instead of the icon, as when ImageIndex = -1.
I tried to set the image index using Cell[ Col ][ Row ]->AsInterger = 1 but it replaces the caption with the string "1".
Could you please tell me how to display an icon next to the caption of a TNxTreeColumn.
Browse children of a node
14 November 2013 - 04:44 PM
Hello,
I use a TNextInspector to display project's properties that user can edit.
Here is how it looks like:
Group
-> SubGroup
-> Property #1
-> Property #2
-> Property #3
I would like to parse each property in the SubGroup node. So I tried this.
But ItemCount is greater than the real number of children contained in SubGroup so I tried tSbuGroup->Items->Count but it is equal to ItemCount.
How can I know how many children are present in a group and how can I access them ?
Thanks.
Alex.
I use a TNextInspector to display project's properties that user can edit.
Here is how it looks like:
Group
-> SubGroup
-> Property #1
-> Property #2
-> Property #3
I would like to parse each property in the SubGroup node. So I tried this.
for( i = 0; i < tSbuGroup->ItemCount; i++ )
{
tSbuGroup->Item[ i ]
}
But ItemCount is greater than the real number of children contained in SubGroup so I tried tSbuGroup->Items->Count but it is equal to ItemCount.
How can I know how many children are present in a group and how can I access them ?
Thanks.
Alex.
TNxButtonColumn buttons don't look like a button but a simple blue rectangle
04 November 2013 - 11:54 AM
Hello,
I'm new with the TNextGrid component and I would like to use it in slide mode. I'm working with C++ Builder XE3.
I added a TNxButtonColumn column to display a button but when I run the app the button looks like a simple blue rectangle (see the attached file).
If it possible to make it look like a real button ?
Here's my code.
I also tried to affect the ObjectReference member to a TButton but it doesn't work.
How do I affect the onclick event of this button ?
Thanks for your help.
I'm new with the TNextGrid component and I would like to use it in slide mode. I'm working with C++ Builder XE3.
I added a TNxButtonColumn column to display a button but when I run the app the button looks like a simple blue rectangle (see the attached file).
If it possible to make it look like a real button ?
Here's my code.
void __fastcall TMainForm::Button1Click(TObject *Sender)
{
tTranslationGrid->AddRow(1);
tTranslationGrid->Cell[2][0]->AsString = "lll";
}
I also tried to affect the ObjectReference member to a TButton but it doesn't work.
tTranslationGrid->Cell[2][0]->ObjectReference = Button2;
How do I affect the onclick event of this button ?
Thanks for your help.
- Bergsoft Forum
- → Viewing Profile: Topics: ag74
- Privacy Policy



Find content