Adding actions

Questions about our Advanced Database plug-in

Moderator: Neosoft Support

Locked
User avatar
carlos torres
Posts: 289
Joined: Mon May 02, 2005 8:14 am
Location: Pamplona, Colombia

Adding actions

Post by carlos torres »

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
User avatar
Danito
Posts: 57
Joined: Thu Mar 11, 2010 7:07 pm

Re: Adding actions

Post by Danito »

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 Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: Adding actions

Post by Neosoft Support »

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
Locked