>>>>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.
Yes, I've not changed that. I just tried it again on a different form and it worked fine (Anchor for a label with Anchor set to 256). But I opened the form I first noticed this on and tried it again there and got the error. Very odd. But it seems isolated to this one form (I hope, at least). Never seen an error using the Sample button before today. Thanks for your replies.