Cicode Programming Reference > Cicode Function Categories > Form Functions Introduction > FormCurr


Gets the form and field handles for the current form and field. You should call this function only from within a callback function. You can then use the same callback function for all forms and fields, regardless of how the boxes, buttons, etc. on the forms are used. You should use this function with the FormGetInst() function.


FormCurr(hForm, hField)


The form handle, returned from the FormNew() function. The form handle identifies the table where all data on the associated form is stored.


The field handle of the field currently selected.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions



See FormGetInst.

See Also

Form Functions