Computer Science Canada

I Need Expert help For assert condition error

Author:  copthesaint [ Tue Feb 03, 2009 2:52 pm ]
Post subject:  I Need Expert help For assert condition error

Ok so Look at lines 296-299 of my program and it should say:
code:
StringWidth:= GUI.GetText (Width)
StringHeight:= GUI.GetText (Height)
PicFWidth:= strint (StringWidth)
PicFHeight:= strint (StringHeight)


Now As you look at it you notice that It 'looks fine' but when inserting values for the picture, then pressing ok it brings up the file GUI located in support under lib. Could someone explain what I may have to do. This is too advance for my teacher.

Author:  TheGuardian001 [ Tue Feb 03, 2009 3:33 pm ]
Post subject:  Re: I Need Expert help For assert condition error

When the program crashes, the GUI outputs (to the width/height selection window) :

Quote:

GetText: widget ID number "1003" must be a TextFieldClass but is a Label


So I would assume the problem is that it isn't a textField. making it a text field should fix it, but I can't be sure.

Author:  copthesaint [ Wed Feb 04, 2009 4:13 pm ]
Post subject:  RE:I Need Expert help For assert condition error

Ok never mind I figured it out Thanks anyways


: