发信人: foxzz() 
整理人: hunter__fox(2002-03-16 22:47:22), 站内信件
 | 
 
 
经研究,请参考: 
 1、在GRID1的aferrowcolchange事件中: 
    local m_recn,m_recnnum,m_i 
    m_recn=recn() 
    M_RECNSTR=ALLTRIM(STR(M_RECN)) 
    for m_i=1 to THIS.ColumnCount 
        this.columns[M_I].DynamicForeColor="IIf(recn()="+m_recnSTR+",RG 
 B(255,255,255),RGB(0,0,0))" 
        this.columns[M_I].DynamicbackColor="IIf(recn()="+m_recnSTR+",RG 
 B(0,0,0),RGB(255,255,255))" 
    endfor 
    THIS.REFRESH() 
 
  
 
  | 
 
 
 |