From: andrea on 28 Jun 2010 17:57 Well I've the box, and the length of my variable is also displayed in it, so the box exists and is properly tagged... Could it a be a problem of updating datas? I mean, maybe by moving the slider I reset some of the needed inputs in the structure...
From: ImageAnalyst on 28 Jun 2010 19:11
On Jun 28, 5:57 pm, "andrea " <flavioantone...(a)alice.it> wrote: > Well I've the box, and the length of my variable is also displayed in it, so the box exists and is properly tagged... Could it a be a problem of updating datas? I mean, maybe by moving the slider I reset some of the needed inputs in the structure... ------------------------------------------ No, not unless you did something stupid like use rmfield to get rid of the edit3 field of your handles structure. Just set a breakpoint at that point in the code and examine the handles variable. Are you ABSOLUTELY sure that handles has an "edit3" field AT THAT SPECIFIC LOCATION IN YOUR CODE? I'd bet it doesn't. If it does, then the value for that handle (handles.edit3) must be a number that no longer represents a valid control on your figure. Maybe you did something like delete(handles.edit3) to blow away the control but leave the edit3 field still in handles, or something strange like that. Search your code and make sure you know what all clear() and delete() commands are doing, and their possible ramifications and side effects. |