General information
Title:
Como controlar o SCROLL numa grid ?
Tenho um form com uma grid com 28 colunas, mas só aparecem 13. A primeira é o ano e + 12 meses. O resto das colunas são para inserir valores relactivos a cada ano, mas só devem poder aceder a estes valores se um dos campos do form fôr .T.
Tentei:
no evento BeforeRowColChange
IF THIS.RowColChange = 2
IF nColIndex => 13
IF ALLTRIM(UPPER(SOCIOS.Q_DIRE)) == "N"
thisform.grid1.DoScroll(4)
ENDIF
ENDIF
ENDIF
Apesar de todas estas condições serem verdadeiras a executar a linha
thisform.grid1.DoScroll(4) (scroll p'rá esq.), o cursor passa sempre para a coluna seguinte.
Agradeço ajuda
Obrigado.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only