Duplicate Control ID in source file with the new version

Started by Jean-Pierre LEROY, December 08, 2006, 12:31:52 PM

Previous topic - Next topic

Jean-Pierre LEROY

Hi Paul,

I have download the last FireFly engine yesterday.

And now I have a problem with an "Option Button" Control on a specific form.

I came back to the previous version and I compare the generated source files; here is what I have found :

In the source file generated with the new version


   IDC_SIMULATION_OPTI = 2101
   IDC_SIMULATION_SIGRID1 = 1030
   IDC_SIMULATION_FRAME2 = 1031
   IDC_SIMULATION_EVALUATIONMETHOD = 1032
   IDC_SIMULATION_SIMU = 2101


In the source file generated with the old version

   IDC_SIMULATION_OPTI = 1029
   IDC_SIMULATION_SIGRID1 = 1030
   IDC_SIMULATION_FRAME2 = 1031
   IDC_SIMULATION_EVALUATIONMETHOD = 1032
   IDC_SIMULATION_SIMU = 1033


There is a duplicated Control ID 2101 in the source file generated with the new version; any ideas about that ?

Thank you for your support,
Jean-Pierre.

TechSupport

Hi Jean-Pierre,

I suspect that one or more of your Option buttons in the OptionGroup have the same "Index" property number. Make sure that they are different or the same number will be generated.

Jean-Pierre LEROY

Hi Paul,

Thank you very much; you find my problem; the two option buttons in the OptionGroup had the same Index : 1

Now I change the index from 1 to 2 for the second option button and everything is ok.

Thank for your support,
Jean-Pierre