dardapu
Programmer
- Sep 10, 2002
- 67
I need to control under FPW26 several browses and an exit button.
According to a I articulate of Foxpro Advisor of the year 1994
I have made the following code the one that uses the same base
for different presentations, for the example it shows the same fields.
*************
defi wind fondo from 0,0 to srows(),scols() color rgb(,,,,192,192,192)
defi wind cero from 0,0 to 5,scols()-5 color n/rg*
move wind cero center
defi wind uno from 0,0 to (srows()/2-5),scols()/2.1
defi wind dos from 0,scols()/1.9 to (srows()/2)-5,scols()
defi wind tres from (srows()/2)+5,0 to srows(),scols()/2.1
defi wind cuatro from (srows()/2)+5,scols()/1.9 to srows(),scols()
acti wind fondo
acti wind cero
@ 1,40 get salir pict "@*T Quit" defa 1 size 2,19
acti wind uno
acti wind dos
acti wind tres
acti wind cuatro
use articulo in 0
use articulo again alias art in 0
use articulo again alias dolar in 0
use articulo again alias oferta in 0
sele articulo
brow in wind uno nowai save
sele art
brow in wind dos nowai save
sele dolar
brow in wind tres nowai save
sele oferta
brow in wind cuatro nowai save
read cycle modal with articulo,art,dolar,oferta
close data base
rele wind cero,uno,dos,tres,cuatro,fondo
*********************************************
When executing the code, the windows are activated but alone it is shown active the I finish browse.
Some idea or correcion to the same one?.
Thank you
According to a I articulate of Foxpro Advisor of the year 1994
I have made the following code the one that uses the same base
for different presentations, for the example it shows the same fields.
*************
defi wind fondo from 0,0 to srows(),scols() color rgb(,,,,192,192,192)
defi wind cero from 0,0 to 5,scols()-5 color n/rg*
move wind cero center
defi wind uno from 0,0 to (srows()/2-5),scols()/2.1
defi wind dos from 0,scols()/1.9 to (srows()/2)-5,scols()
defi wind tres from (srows()/2)+5,0 to srows(),scols()/2.1
defi wind cuatro from (srows()/2)+5,scols()/1.9 to srows(),scols()
acti wind fondo
acti wind cero
@ 1,40 get salir pict "@*T Quit" defa 1 size 2,19
acti wind uno
acti wind dos
acti wind tres
acti wind cuatro
use articulo in 0
use articulo again alias art in 0
use articulo again alias dolar in 0
use articulo again alias oferta in 0
sele articulo
brow in wind uno nowai save
sele art
brow in wind dos nowai save
sele dolar
brow in wind tres nowai save
sele oferta
brow in wind cuatro nowai save
read cycle modal with articulo,art,dolar,oferta
close data base
rele wind cero,uno,dos,tres,cuatro,fondo
*********************************************
When executing the code, the windows are activated but alone it is shown active the I finish browse.
Some idea or correcion to the same one?.
Thank you