Udostępnij za pośrednictwem


Small Basic - Changing Properties

Changing Properties

You can change many TextWindow properties, but not all properties can be changed. Some objects contain read-only properties, which you can use in your program but can’t change. For example, the Date property of the Clock object is a read-only property. (Wouldn’t it be nice if you could change the Date property to travel through time?)

On the other hand, you can both use and change properties that have read/write access. Small Basic’s Help Area tells you whether a property has read/write access or read-only access. Do you see the difference in the Figure?

Figure: The Help Area shows you whether a property has read/write or read-only access.

Read more about Small Basic (and download it): https://blogs.msdn.com/b/smallbasic/

 

Have a Small and Basic week!

   - Majed Marji & Ninja Ed

Comments