>Hi Hilmar,
>
>>>
>>>In order to have Visible = .T. and in spite of that have the object to be "invisible" I just set Width and Height equal 0. It works!
>>
>>I would have considered putting it "off-limits", something like:
TextBox.Left = 1000, but making it too small to see is also an interesting option.
>
>The idea is to have a "normally" placed and sized object in the design stage and to make it to disappear at runtime.
You can achieve this by setting this.left=-2*thisform.width in control's init. So it'll be there in design mode, and would hide far left before the form shows.
>So it was tempting to try to set Width and Height equal 0. I was really surprised, that is works. That means, that an object has an optical presentation, which is what you or the user sees, and a logical presention, which is what the runtime handles without taking note of the optical presentation.
Same goes with the far-out object - it can gain focus, its methods can run, it's as if it was completely live and kickin' (which it actually is). It's just out of sight.