Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 I Need Expert help For assert condition error
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
TheGuardian001




PostPosted: 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.
copthesaint




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: