Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine the left and top of a Girdcell & contro
Message
 
 
À
03/09/2001 07:28:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551754
Message ID:
00551766
Vues:
23
Hi!

I just tried to run a simple test - in the Click event of the cell text box in column2 put following:

? ObjToClient(this,1)
? ObjToClient(this,2)
? ObjToClient(this,3)
? ObjToClient(this,4)
? ObjToClient(this.parent.parent.Column1.Text1,1)
? ObjToClient(this.parent.parent.Column1.Text1,2)
? ObjToClient(this.parent.parent.Column1.Text1,3)
? ObjToClient(this.parent.parent.Column1.Text1,4)

And it produces following values:

55
128
73
15
4000
4000
10
10

Where last 4 values for Column1 (not active, but in visible grid area) are always the same.


>Not necessarily. Top would need it and could be calculated for a nonactive cell.
>Cetin
>
>>Hi!
>>
>>This will work only when cell is active.
>>
>>>>how to determine the left and top of a Girdcell & control
>>>
>>>See ObjToclient()
>>>
>>>Cetin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform