Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Como impossibilitar que uma grid seja rolada
Message
 
To
06/05/2002 13:12:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00652950
Message ID:
00653296
Views:
22
This message has been marked as the solution to the initial question of the thread.
Crie uma propriedade no Form:
salvou=.f.
No BeforeRowColChange coloque:
if !thisform.salvou
   nodefault
endif
No botão salvar, você informa:
thisform.salvou=.t.
Assim quando o usuário for editar alguma coisa, você coloca no text do grid (interactivechange) ou em um botão editar:
thisform.salvou=.f.
Assim enquanto ele não terminar a edição com salvar (ou reverter) ele não sai da coluna. Como tem outros controle do grid, pode tmb permitir que ele percorra a coluna mas não outra linha.

E por ai?
Cordialmente,

Fabiano Costa
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform