Archicad Search Bar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi all,
I'm looking to create a search bar for my dialog similar to the image below, basically the same kind of search bar as found in Archicad:
I'm able to create a simple text edit to emulate what I'm looking for, but it's missing the persistent magnifying glass and the X on the right. Is it possible to add these to a text edit or use a different type of control to get this result?
Thanks,
Rob
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
You can add a DG::SearchEdit control to your dialog to achieve this (please see DGEditControl.hpp). Use a TextEdit entry in the resource for this control.
You can add some info hint that appears with gray color when the edit control is empty by calling the SetVariousText(...) function.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
You can add a DG::SearchEdit control to your dialog to achieve this (please see DGEditControl.hpp). Use a TextEdit entry in the resource for this control.
You can add some info hint that appears with gray color when the edit control is empty by calling the SetVariousText(...) function.