Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy,paste placement
Message
 
À
28/05/2003 13:20:20
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00793536
Message ID:
00793621
Vues:
29
Select your controls in design mode and run this prg :-)
*spacing.prg

=ASELOBJ(selection)
oldError = ON("ERROR")
ON ERROR *
IF TYPE("ALEN(selection,1)") = "N"
	MyTop=selection(1).top
	MyLeft=selection(1).left
	FOR x = 2 TO ALEN(selection,1)
		MyTop=MyTop+25  && hardcoded value!
		selection(x).top=MyTop
		selection(x).left=MyLeft
	ENDFOR	
ENDIF
ON ERROR &oldError

RETURN
>Nope. It isn't easy to understand how much it increases or decreases the spacing.
>
>>>Hi all
>>>
>>>When I copy a control from a form and paste it onto the same form, the new control is placed a little down and to the right of the current control. Is there any way to alter how far down and how far over?
>>
>>You cannot do this directly.
>>
>>But you can:
>>*place the controls roughly where you want them
>>*select all of them
>>*use the format/vertical spacing/make equal menu
>>*use the format/vertical spacing/increase or decrease menu until you reach the needed spacing
>>
>>HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform