Welcome, Guest
Username: Password: Remember me

Unicode sprintf

Posts 7 to 8 of 8
  • Oliver
  • Oliver's Avatar
  • Gold User
  • No rank
2 months 4 weeks ago #9194
In this case it seams that the set (write) method of a "Caption" property is not called after sprintf is done,
That's exactly my point. sprintf does change the underlying string. So why is the set method not being invoked?
Log in to reply.
2 months 4 weeks ago #9197
sprintf does not change Caption's underlying string. It creates a temp string that contains the changed value. But, that temp (changed) value must be assigned to a property in order to change property's underlying value.
Log in to reply.
  • Page:
  • 1
  • 2
Moderators: @aprilanne