Civ4 popups

ruff_hi

Live 4ever! Or die trying
Joined
Oct 24, 2005
Messages
9,135
Location
an Aussie in Boston
From here, CyPopup has the following ...

1. VOID addButton(STRING szText)
...
24. VOID createPythonCheckBoxes(INT iNumBoxes, INT iGroup)

... but (I think) the CyPopupReturn doesn't have a way of checking the state of this check box ...

CyPopupReturn
  1. INT getButtonClicked(INT iGroup)
  2. STRING getEditBoxString(INT iGroup)
  3. INT getSelectedListBoxValue(INT iGroup)
  4. INT getSelectedPullDownValue(INT iGroup)
  5. INT getSelectedRadioButton(INT iGroup)
  6. INT getSpinnerWidgetValue(INT iGroup)
  7. BOOL isNone()

Am I reading this correctly?
 
You are reading correctly. You can add checkboxes and, I think radio buttons, to your popup, but you can't retrieve their states from the popupReturn objects.
 
Back
Top Bottom