License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2015-09-08
02:39 PM
- last edited on
2023-07-13
03:37 PM
by
Doreena Deng
2015-09-09 07:20 PM
2016-08-15 09:15 AM
SomeTabPage::SomeTabPage(...) : ... lstItem(GetReference(), DG::Rect(), DG::ListBox::VScroll, DG::ListBox::NoPartialItems, DG::ListBox::Header, 25) { // ... const short tabCnt = 5; lstItem.SetTabFieldCount(tabCnt); lstItem.SetPosition(xpos, ypos); lstItem.SetSize(itmWd, itmHt); lstItem.SetFontSize(DG::Font::Small); short tabTotWidth = wd - 21; // scroll width short tabIdx = 1; short tabWid = 15; short tabBeg = 0; short tabEnd = tabBeg + tabWid; lstItem.SetTabFieldProperties(tabIdx, tabBeg, tabEnd, DG::ListBox::Center, DG::ListBox::EndTruncate, true, true); lstItem.SetHeaderItemText(tabIdx, "head 1"); // other header settings here // populate list box after // ... }But the list box is not showing. When I removed the header flag, the list will be created (of course) with no header.
lstItem.SetPosition(xpos, ypos); lstItem.SetSize(itmWd, itmHt); lstItem.SetFontSize(DG::Font::Small); lstItem.Show();Shows (without header) when header flag is not set; otherwise, no list box is generated.
2017-04-25 05:23 PM
SomeTabPage::SomeTabPage(...) : ... lstItem(GetReference(), DG::Rect(DG::Point (0, 0), DG::Point (100, 100)), DG::ListBox::VScroll, DG::ListBox::NoPartialItems, DG::ListBox::Header, 25) { // ... // modify size if initial one isn't appropriate lstItem.SetSize(itmWd, itmHt); //... }
2017-05-15 04:11 AM