Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with Top and Left Assign Methods
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00630359
Message ID:
00631271
Views:
29
Let me see if I understand. Instead of placing the textbox directly on the toolbar, you put a container on instead which has only the textbox in it. Then, since the continer doesn't pass on the change to top/left the error doesn't fire in the textbox, Right?

Hmmm, I might be able to use that...
(This resize code is in nearly all my base classes - even containers. The resizing message is passed along. So I think I'd end up with the same issue.)

However, I could when I place a control (most often a commandbutton) on a toolbar I could first wrap it in a higher-class-level container without the resizing code.

The biggest problem I can foresee with this is, and I haven't tested this yet, is columns will probably have the same issue as toolbars. And there, I'd need the contained textbox, etc. to resize.
AARRGH!

Man, this is tough! Any other ideas?

>BINGO!
>
>Create a container object for each Textbox. Add the container objects to the toolbar. Works as if VFP8.0 had the fix!
>
>Glenn
Bill Armbrecht
VFP MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform