Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Problem - Height & Width Not Found
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Strange Problem - Height & Width Not Found
Miscellaneous
Thread ID:
01264812
Message ID:
01264812
Views:
43
I am creating a tab set for displaying multiple pages on the desktop, just like VS and SQL do.

I have created a container with a pageframe on it called App_TabSet.

App_TabSet has an AddPane method. A Pane is just a container that gets added to a new page on
the App_TabSet pageframe.

The Resize of App_TabSet loops through all the pages on the pageframe and calls the Resize of
the pane container on each page.

The base class Pane container has a shape on it, as a border around the edge. The resize of
this base class Pane container has:
This.shpBorder.Height = This.Height - (This.shpBorder.Top * 2)
This.shpBorder.Width = This.Width - (This.shpBorder.Left * 2)
The 'This.Height' and 'This.Width' parts are ok. In the debugger I can see their values.

But any reference to This.shpBorder appears in the debugger as an object, but the '+' sign
to expand the object and look at its properties is not there. When I drag 'This.shpBorder.Top'
down into the Watch Window, it cannot be evaluated.

The Pane and the Shape are native VFP controls, not subclassed. All PEM's are public.

Anyone know what is happening here?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform