Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to resize two objects within a Form or Container?
Message
 
À
23/07/2002 13:11:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00681751
Message ID:
00681845
Vues:
12
>Is there anyway to keep it on the same X-axis; rather than floating all over the form?
>
>An example of what I want is in Internet Explorer 5.0
>
>a. Open Favourites or History. Notice it is separated by a band in the screen.
>b. Select the band and resize the objects. All you have is a simple verticle line which does not move off of the X-Axis. It seems to be contained within a specific amount of space.
>
>I have attempted what you suggested in a container, but I can still float the object over the remainder of the form.
>
>Any suggestions would be greatly appreciated.

Well actually it works better with shape using this code:
Form.Load event:
Public Flag
Flag=.f.
Shape.MouseDown event:
Flag=.t.
Shape.MouseUp event:
Flag=.f.
Shape.MouseMove event:
If Flag then
	this.Left = nXCoord
endif
You could change MousePointer property of the Shape to 9 - Size W E
Venelina Jordanova

Outsourcing IT Services Ltd.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform