ListView Group problem in Sharp Develop

ListView Group problem in Sharp Develop

Anonymous
Not applicable
352 Views
0 Replies
Message 1 of 1

ListView Group problem in Sharp Develop

Anonymous
Not applicable

Hi Gents,

 

I am using a listview in a form in a Revit Macro using Sharp Develop. Listview items are not showing in groups even in the design (coding) time as well as in the run time. 

 

For example, I put the first listviewitem in a group "Mechanical" and click OK. When I check that first listviewitem again, the group shows "None".

 

I searched in google. I found in one thread that, Application.EnableVisualStyles() in the main method. Where is the main method is Revit macro. How can I enable visual styles in Revit Macro. Or, How can I show listviewitems in a group?

 

Kindly help.

 

Thank youRevit.jpg

0 Likes
353 Views
0 Replies
Replies (0)