Dear NB Team
TIA
Is it possible to add some actions to the navigation bar when I show data using a grid (dbpSetGridProperties)?
i.e. to initialize some variable or doing any subroutine when it is added a new record?
I will appreciate any help.
regards
carlost
Adding actions
Moderator: Neosoft Support
- carlos torres
- Posts: 289
- Joined: Mon May 02, 2005 8:14 am
- Location: Pamplona, Colombia
Re: Adding actions
Al abrir una tabla te permite ejecutar una subrutina que tu elijas y que se activa cuando navegas entre los registros, tu tarea es crear esa subrutina que verifique si el cambio se debe a un nuevo registro.
Code: Select all
dbpOpenTable "DB1" "sales" "OnChangeSub"
-
- NeoSoft Team
- Posts: 5628
- Joined: Thu Mar 31, 2005 10:48 pm
- Location: Oregon, USA
- Contact:
Re: Adding actions
It's not possible to add anything to the grid's built-in navigation bar. However, you can hide the navigation bar (dbpSetGridProperties) and create your own custom nav bar using NeoBook objects and DBPro actions.
NeoSoft Support