What he is saying is...
Read the state of your checkbox (checkbox.checked) via your fake add button. You can't insert data into the correct row where the add button resides b/c the game copies the template XML (the row XML code) and adds rows as needed at runtime(when the window is created in _HUD) from the copied template XML. Thus your check box is only changing the data in the template row not the real row that your add button is really in. It does this before the window is shown so using the OnShow of the main window is useless in this case.
Last edited by Landiin : 03-28-2011 at 10:26 AM.
|