How should I interpret the Dictionary?
Posted: Thu Feb 18, 2010 12:10 pm
Hi all,
I have just started playing with scrollbars and copied some found code into my stack:
My code then refers to the global variable and all is well.
Then I conducted a search of the forum and discovered reference to the following syntax:
Now this is great as I no longer have to bother with a global variable. But my confusion stems from looking "thumb position" up in the dictionary where the syntax just describes using "SET" command with no reference to the "PUT" or any other.
Is it the case that where the dictionary displays a 'SET" syntax I will be able to use a "PUT", or am I always able to read Type:property or do I just have to know?
thumbPosition
Type: property
Syntax: set the thumbPosition of scrollbar to number
Objects (or Types): scrollbar
Synonyms:
thumbPos
See Also: scrollbarBeginning Message, scrollbarLineInc Message, thumbSize Property
Introduced: 1.0.....<snip>
best wishes
Simon
I have just started playing with scrollbars and copied some found code into my stack:
Code: Select all
on scrollbarDrag sbValue -- display new value of scroll bar
global gTgtSpeed
put sbValue into gTgtSpeed
put gTgtSpeed into fld"TargetSpeed"
end scrollbarDrag
Then I conducted a search of the forum and discovered reference to the following syntax:
Code: Select all
put the thumbposition of scrollbar"theScrollbar" into tAnyVar
Is it the case that where the dictionary displays a 'SET" syntax I will be able to use a "PUT", or am I always able to read Type:property or do I just have to know?
thumbPosition
Type: property
Syntax: set the thumbPosition of scrollbar to number
Objects (or Types): scrollbar
Synonyms:
thumbPos
See Also: scrollbarBeginning Message, scrollbarLineInc Message, thumbSize Property
Introduced: 1.0.....<snip>
best wishes
Simon
