>Hi folks,
>Is there an easier way to determine active control in grid ? This code is from beforerowcolchange and already verified it's a rowchange (nColIndex has column value) :
>with this
if !empty(.columns(nColIndex).dynamiccurrentcontrol)
cCurrentControl = ;
eval(.columns(nColIndex).dynamiccurrentcontrol)
else
cCurrentControl = .columns(nColIndex).currentcontrol
endif
with evaluate(".columns(nColIndex)."+cCurrentcontrol)
.value = .value && So we can evaluate table ruleexpression
endwith
endwith
>And next problem. Is there a way to determine last activecolumn in grid.valid, w/o saving it to some property ? MTIA
>Cetin
i have no answer to your question. do not understand fp well enough, but i am trying to follow along. what is dynameiccurrentcontrol vs currentcontrol? also, what do you mean by "(ncollndex has a column value)". how can you determine if ncollndex is a column or row value?
thanks brenda
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement