Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does this do this...and how can I fix it.
Message
 
To
27/03/2002 12:33:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00637949
Message ID:
00637956
Views:
16
>I have a form class that is being used to enter data into tables...i.e., controlsource on the textbox objects are tied to a table.
>
>To organize the fields on the form use 3d Containers as boxes on the form to group fields into logical areas, etc. The 3d Containers have the following basic properties:
>
>Backstyle = Transparent
>Borderwidth = 1
>Enabled = False
>Specialeffect = 0 - Raised
>Tabstop = False
>
>I have 4 of these containers (boxes) on a page of a pageframe, and they've all been "Sent to Back". I've placed textbox controls on top of them, not in them.
>
>When I run the form, some of the containers act as if they are "on top" and wont let me access the textbox objects.
>
>I have used this method for years, and 98% of the time I have no problem, but once in a while, for some crazy reason I get this behavior.
>
>Has anyone seen this before, and is there an easy fix? I do not want the complexity of placing the textbox objects "in" the container. I'm just using the containers as "boxes" to segregate fields visually.
>
>Thanks in advance.
>
>Bob Bartel

Never seen this behavior. You might try to place the commands changing ZOrder for containers into Page.Init() so it will execute it when all the controls on page exist for sure.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform