cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
RobDev
Contributor

Archicad Search Bar

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:

searchbar.png

 

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

1 Solution

Accepted Solutions
Miklos Vegh
Graphisoft
Graphisoft

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.

Go to post

1 Reply 1
Miklos Vegh
Graphisoft
Graphisoft

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.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!