VBAL::APIAttributeList design question
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-05
10:12 AM
- last edited on
2021-09-15
12:38 PM
by
Noemi Balogh
2020-03-05
10:12 AM
Hi!
I am creating a dockable palette using DG:Palette. In the palette I have an attribute list based on VBAL::APIAttributeList. I am adding groups to the list with VBAL::APIAttributeListGroupItem and group content with VBAL::APIAttributeListTextItem. When the list is displayed, it seems the standard configuration is to keep space reserved for optional icons as marked in the attached image. When I look around in the standard dialogs in ARCHICAD I find several examples of grouped lists without this "icon space". My question is - what controls the allocation and how can I supress it in my list?
Regards,
Lars Rådman
I am creating a dockable palette using DG:Palette. In the palette I have an attribute list based on VBAL::APIAttributeList. I am adding groups to the list with VBAL::APIAttributeListGroupItem and group content with VBAL::APIAttributeListTextItem. When the list is displayed, it seems the standard configuration is to keep space reserved for optional icons as marked in the attached image. When I look around in the standard dialogs in ARCHICAD I find several examples of grouped lists without this "icon space". My question is - what controls the allocation and how can I supress it in my list?
Regards,
Lars Rådman
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-05 12:05 PM
2020-03-05
12:05 PM
I don't think you can remove the icon column from VBAL::APIAttributeList . We just use an ordinary list control to do this, and manage the disclosure triangles in the first column with our own code.
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-08 03:10 PM
2020-03-08
03:10 PM
Thanks for the fast reply!
When you say ordinary list control, what class are you using then? And can you point me in any direction where I can find more information/documentation about the VBAL:: classes?
Best regards,
Lars
When you say ordinary list control, what class are you using then? And can you point me in any direction where I can find more information/documentation about the VBAL:: classes?
Best regards,
Lars
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-08 04:55 PM
2020-03-08
04:55 PM
LarsR wrote:I was referring to
When you say ordinary list control, what class are you using then? And can you point me in any direction where I can find more information/documentation about the VBAL:: classes?
Ralph Wessel BArch
Central Innovation
Central Innovation