Originally Posted By: Espér
that´s cause you just need comboboxForeign->caption

The combobox is an editobox object, so it handles the caption string of the chosen item by itself ^^



Thanks, Espér. But I have the same problem.
The printf show me the text: q[]

It's so wrong.

Code:
void comboClick()
{
	if(comboboxForeign->chosen_option!=NULL)
	{		
		printf(comboboxForeign->caption);
		printf((comboboxForeign->editbox->text.pstring)[0]);
		printf(comboboxForeign->editbox->caption);
		
		(pruebas_txt.pstring)[0]=comboboxForeign->caption;
   }
   else printf("No selected");
}


¿Any ideas?

If anybody knows some example of this, i will looked.

Thanks brothers!