>Thanks, Ed I'm going to try that.
>
>But I really want to know how to create control arrays. I always experiment on effects that I can make based on the simplest controls. And not have to create them from another app. And to do that, I need a control array.
>
>Ex, I want to create an effect of shining letters like in the word "SAMPLE".
>I set the ff properties:
>
>forecolor = rgb(255,0,0)
>fontsize = 12
>
>and then on the mouse move event I set up a loop that would change the color letter by letter to yellow or something and increase the size to 13 and then back to 12 , and the color to red as the effect "moves" from "S" to "E". Of course I need a label control array for this. Each letter has to be a separate control.
>
This falls into the "Why bother - if I need this, add an ActiveX Control and not overburden the app and VFP with (IMO) waste of time eye candy that my end-users don't want."
>Another, can I make a vertical label? I wish there was a property for this.
>
Trivial - drop a command button, change the shape, turn on word wrap, fill in the caption - instant vertical button. Same effect with a label - just insert a blank between letters to make sure it wraps properly, especially if using a proportional font. Since you can (and should!) subclass the base label class, you can create a subclass once that does the work of adjusting captions on the fly for you and then simply use that when you need a vertical label.
I'd be more concerned with getting useful work out of the language than visual controls - that's the main argument in favor of VFP, a strong data-centric OOP development environment. If all you are interested in is visual effects, VB's a better environment, since the form behavior folows standard Windows practice - I just think it's an awful environment for what VFP does well. YMMV.
I can always throw a VB front-end on a VFP mid-tier component if I absolutely have an end user requirement that can't be satisfied with VFP's UI tools. Use the right tool for the right job...