>>>For a label control, I double-clicked the Anchor property in the Properties Sheet. I checked the "Anchor but don't resize horizontally" checkbox. Then I clicked the Sample button. Got a syntax error. First time I've run into a bug in the area. Anybody else seen that?
>>>
>>>I wouldn't have even used the Sample button, but I had noticed on the form that the label control was not staying centered.
>>>
>>>Russell Campbell
>>
>>Works fine for me. Anchor value is 256.
>
>Hmmm. My anchor value is 256, also. I exited and restarted VFP. Same bug. I've never encountered a bug using the Sample button before.
You are using the one that comes with VFP9, correct? I've tried in both SP1 and SP2 and both work OK. The reason I ask is David Frankenbach had done a replacement Anchor program, and thought it might work a bit differently.