TGComboBox GetSelectedEntry

From: Roger Mason <>
Date: Mon, 14 Nov 2005 12:42:53 -0330


I want to set the value of a variable depending on the selected text entry in a ComboBox. I have:

if (fComboFuncNames->GetSelectedEntry()=="Gaussian") nparm = ngp;

but the value returned is an address. How do I get at the actual text?

Sorry if this is an elementary C++ question.


Roger Received on Mon Nov 14 2005 - 17:15:00 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET