Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The textbox object is invisable
Message
 
To
07/04/1998 21:25:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00090254
Message ID:
00090391
Views:
20
>>>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.com

Never mistake having a career with having a life.
Previous
Reply
Map
View

Click here to load this message in the networking platform