Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activecontrol in grid & activecolumn in grid.valid
Message
 
À
25/09/1998 01:49:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140243
Message ID:
00140724
Vues:
27
That'll Great Cetin!

>Hidy Kamal,
>Good morning (good night ?). Hey why would I hate someone faithfully deserving time to help me, I just feel appreciation.
>Kamal, I couldn't make it clear. This is a generic grid class and I don't have a chance to change PEM of indiviual controls. It will populate later, maybe on your form (yeah, will send to UT files\classes). If I could, all I want to do there, is to "poke" this.value = this.value to their interactivechange. I only have grid at my hand now, no controls yet :( Today I'll try to send a copy of class to you. Now working :) I was trying to optimize the code more (working smooth and fast though).
>Cetin
>
>>Cetin,
>>
>>>Unfortunately activecontrol applies to form, page, toolbar, _screen not grid. form.activecontrol return the grid, not current active control of it. Thanks.
>>
>>Thats very true. You'd probably hate me for this but the way out would be to store the column's currentcontrol's object reference to a property on the form from the GotFocus() event of each control in each column.
>>
*-- Grid.Column.TextBox.GotFocus()
>>thisform.oLastControl = this
>>or
>>thisform.cLastControlPath = SYS(1272, this)
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform