Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with Top and Left Assign Methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00630359
Message ID:
00631271
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform