Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MRow(), Mcol()
Message
De
17/12/2012 05:35:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01559848
Message ID:
01559872
Vues:
40
>>>>>>Please see attach image
>>>>>
>>>>>what is wrong with MROW() and MCOL()?. Just pass thisform.Name as first parameter?
>>>>
>>>>Yes, when we change screen resolution then MROW() and MCOL() changes.
>>>>
>>>>Suppose I have following cods in 800x600
>>>>
>>>>
>>>>DEFINE POPUP ABC SHORTCUT RELATIVE FROM 11,102 to 31,135  TITLE 'A R R I V A L'
>>>>
>>>>
>>>>Then I change resolution to 1024x768 the popup will change its location
>>>>
>>>>So, I want to display POPUP from a fixed position in every resolution.
>>>>
>>>>I want POPUP every time appear from where SHAPE is located.
>>>
>>>How about:
>>>
>>>DEFINE POPUP shortcut SHORTCUT RELATIVE FROM thisform.Shape1.Top, thisform.Shape1.Left TITLE 'A R R I V A L'
>>>
>>>
>>>NOT TESTED!
>>
>>
>>
>>DEFINE POPUP abc SHORTCUT RELATIVE FROM thisform.Shape1.Top, thisform.Shape1.Left TITLE 'A R R I V A L'
>>
>>
>>sir, your above command does not work becuase SHAPE.LEFT does not match with MCOL()
>>if shape1 left is 900 then there is no Mcol=900
>>
>>i have tested this function
>>
>>aa=mcols()
>>it syas only 170
>>
>>so shape1's left is very bigger than screen.
>>
>>If I get proper mrow() and mcol() of shape1 then there will be no problem.
>>All will be accurate.
>
>
>When you click on button then MCOL() is on BUTTON not on SHAPE, I doubt that you want SHORTCUT to appear on button.

I want popup to appear on shape1 by click button as

popup left must be the left of shape1
popup top must be the top of shape1
popup width must be the width of shape1
popup height must be the height of shape1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform