A few weeks ago I encountered a strange problem which has reared its 
ugly head again and has left me totally baffled, has anyone else had 
this problem?

Initially I had a form (in an application with many forms)with 3 buttons 
on it, I changed the caption on one of the buttons.  However, after 
compilation the original caption appeared on the button.  Back in the 
IDE the new caption was displayed.  Viewing the form as text showed the 
new caption.  Changing the caption on either of the other two buttons 
resulted in the new captions showing when running the application.  I 
also tried moving the offending button to a new position on the form 
just to check that the modified form was being compiled into the 
application.  On running the application the button displayed in the new 
position but with the old caption.  I had other buttons in the 
application with the same name and same old caption, so I changed the 
name of the offending button and everything worked great.

Then last week I changed some design-time text (Lines) in a read-only 
TMemo.  Same problem.  Again viewing the form as text showed the new 
text but when running the application the old text appeared.  In this 
case there was no other TMemo in the application with the same name nor 
same old text.  The solution was the same as before, I changed the name 
of the TMemo.

Now this morning, I've had the same problem again with a button caption.

Helllllp!  This is driving me mad.

-- 
Regards,

Tony Foale
EspaƱa / Spain

www.tonyfoale.com
[EMAIL PROTECTED]

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to