Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Align modal form
Message
De
03/11/1999 17:42:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Align modal form
Divers
Thread ID:
00286533
Message ID:
00286533
Vues:
59
I have a quick fill text box that I am allowing the user to enter a couple of characters then a '?'. When the '?' is entered, I gather the list of matching values so far and display them.

I am using a modal form that has a one column grid to display the list of values. The size of the form is exactly the same size as the grid. The form has no borders or title bar. It looks like I am poping a grid on the data entry form.

What I want to do is to line this modal form up with the left of the quick fill control and just below it.

I have code that says:

oList.Left = ThisForm.Left + This.Left
oList.Top = ThisForm.Top + This.Top + This.Height
oList.Show()

However, the form is not appearing where I think it should. What is the proper way calculating the top and left positions for this form in relation to the current contro?
Thanks,
Dan Jurden
djurden@outlook.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform