Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid - protect a cell
Message
De
17/05/2015 16:04:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
17/05/2015 15:39:18
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01619920
Message ID:
01619925
Vues:
49
>>>Hi All:
>>>
>>>In a particular column in a grid, is it possible to make some rows readonly and others not, based on some criteria? I guess the same question could be asked with regard to other properties, such as backcolor?
>>
>>Colors you handle with dynamic properties. Conditional readonly, row's (i.e. grid's) .when() - return .f. when you want the row to be completely unclickable, or return .f. from each cell's .when(). If anyone knows a more practical way, I'd like to know too.
>
>Set the grids' readonly property in the afterrowcolchange event

That's much better, as the cells are still clickable, And the limitations of .when() (and valid, rangeLo/Hi - can't setfocus() from them) aren't in the way.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform