| 188 | === !GetItemByIDVal === |
| 189 | |
| 190 | {{{ |
| 191 | CFormItem* GetItemByIDVal(int nIDVal) |
| 192 | }}} |
| 193 | |
| 194 | ==== Parameters ==== |
| 195 | |
| 196 | * nIDVal = The item ID value of a form item in the form |
| 197 | |
| 198 | ==== Return Value ==== |
| 199 | |
| 200 | The !GetItemByIDVal function returns a pointer to the CFormItem found based on the provided ID value; NULL is returned if no item is found with a ID value. |
| 201 | |
| 202 | ==== Remarks ==== |
| 203 | |
| 204 | |
| 205 | ==== Example ==== |
| 206 | |
| 207 | |
| 208 | === !GetItemIndex === |
| 209 | |
| 210 | {{{ |
| 211 | int GetItemIndex(CFormItem* pItem) |
| 212 | }}} |
| 213 | |
| 214 | ==== Parameters ==== |
| 215 | |
| 216 | * pItem = pointer to a CFormButton or CFormInput item. |
| 217 | |
| 218 | ==== Return Value ==== |
| 219 | |
| 220 | The !GetItemIndex function returns the item index of the pointer specified; -1 is returned if no item is found with a matching name. |
| 221 | |
| 222 | ==== Remarks ==== |
| 223 | |
| 224 | |
| 225 | ==== Example ==== |
| 226 | |
| 227 | |
| 228 | === !GetItemCount === |
| 229 | |
| 230 | {{{ |
| 231 | int GetItemCount(void) |
| 232 | }}} |
| 233 | |
| 234 | ==== Parameters ==== |
| 235 | |
| 236 | * function does not take any parameters. |
| 237 | |
| 238 | ==== Return Value ==== |
| 239 | |
| 240 | The !GetItemCount function returns the number of items in the form. |
| 241 | |
| 242 | ==== Remarks ==== |
| 243 | |
| 244 | |
| 245 | ==== Example ==== |
| 246 | |