>>>The object textbox that was created is not anywhere to be seen... although the code does create an object. How do we make this object or another function work like the TextBox icon can create.
>>>
>>>Thank you for your time.
>>
>>After AddObject() you should set new objects properties programmatically including Text.Visible=.T.
>
>In my point of view, AddObject() should Add an visible object!
>Too wasting in coding to add .Visible = .T.
>
>Just like you wash the container such as Glass very clean and empty it
>but you don't put anything in it?!
>
>Due to addobject() need set visible, I waste 3 days to debug adding a fixed
>Non-Ime Textbox in grid!! Finally, I got answer by visit some other HP!
The main reason why the .Visible=.F. is because, as David F. explains in another thread, to allow you to position and set neccesary properties and then show the object. If .Visible=.T. was the default your user could quite likely see the object being built. HTH
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.