I want to create a component on a form that allows me to select an item from a list of component items or type a new item. The idea is to store items that have been typed in previous executions at Form OnActivate time and then, when the focus reaches the component, I would like to display the components from the stored list and select one of them. Or, alternatively, if the stored list does not contain the text I need, type it into the component. Then, if you enter a new value, it will go to the already stored list, which at the end of the process will be rewritten with the new component included. In short, a component that allows me to either select from a previously fed list or enter a new value in the component analogously to what I would do, for example, in a TEdit component. I apologize if the question is very elementary, but I couldn't find material that would help me. I thought maybe about the TComboBox component, but I couldn't evaluate whether it allows me to manually feed a new value if I need to. And later include this new value in the list to be displayed in future processing.
Cheers Arí Ricardo São Paulo - Brazil
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus