On Wed, Jul 7, 2010 at 1:37 PM, raghvendra misra <raghvendrami...@gmail.com> wrote: > Hi all, > The values entered in combo box is defined by <value> in the xml files. > However i have a requirement in which the values are not fixed and > changes depending on certain conditions. So i cannot use xml files to > enter these values. > > Is there a way by which i can enter the values in combo box through > source file(fg_command.cxx) instead from the xml?
The xml is loaded into the property tree, and the dialog is instantiated from there. You can use any means to set up the property nodes, including c++ code or nasal script. -- Csaba/Jester ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel