我想添加一个可以更改GAWizard中的Number of generations的textbox,但是这个好像不让有空格,而且我找到路径好像也不对, 9 w5 q( x4 N: ?5 k) q( y7 dwhen "Number of generations" then 8 s- w" S6 j7 |1 m .LayoutDesign.QAP2.Number of generations:=str_to_num(@.getValue("Number of generations")); $ y: C0 L n }1 u" e: s6 r! X我也试过这个,但是这个也是不让有空格' u/ G5 x5 D% A. |7 t- _
when "Number of generations" then , y. N6 g9 ^1 a9 R5 @& e .Genetic_Algorithms_in_QAP2.Number of generations:=str_to_num(@.getValue("Number of generations")); 4 q. [ _# x& g( }) O G我的目的是想用textbox来更改Number of generations和Size of generation,这两个的值,以及Run下的Reset和Run,有没有路过的大神告诉我这个代码要怎么写???求指导!!!!