Getting value from Edit to work with region
I needed to divide the picture into sectors and count the number of black dots in each of them. I use regions for this. Can I do this with the Edit input field somehow?
HRGN region [n];
HRGN requires a constant value like
const n = 35;
Please, help if it is possible to somehow link HRGN with Edit, for example, if Edit is set as follows:
int n = Edit1-> Text.ToIntDef (0);