![]() |
![]() |
![]() |
||||||
SCR/AL1 - TOME IV. Les librairies internes
Syntaxe
MP_rebuild_buf(mp)
MPAGE *mp;
Description
Reconstruit le buffer des records affichés dans une MPAGE. Cette fonction doit être utilisée après création, modification ou destruction de records en cours d'utilisation d'une MPAGE.
Par exemple, si une touche fonction demande la construction d'un record (en C), l'éditeur de MPAGE ne peut en être informé. Cette fonction force la reconstruction de la fenêtre de la MPAGE.
Cette fonction doit être utilisée avec précaution.
MP_cmp_to_buf(mp, rec_nb)
MP_down(mp)
MP_down_window(mp, nl)
MP_end(mp)
MP_home(mp)
MP_isam_to_buf(mp)
MP_pg_down(mp)
MP_pg_up(mp)
MP_rebuild_buf(mp)
MP_retrieve_rec(mp)
MP_set_cond(mp, cond)
MP_set_index(mp, cmp_nb)
MP_set_isam(mp, is1, is2)
MP_up(mp)
MP_up_window(mp, nl)
Syntaxe
MP_cmp_to_buf(mp, rec_nb)
MPAGE *mp;
int rec_nb;
Description
Compare the isam record to the record rec_nb in buf Return -1 if different, 0 else mp : IO : MPAGE * rec_nb : IN : nb of record in buffer to be compared
Syntaxe
MP_down(mp)
MPAGE *mp;
Description
Move one record down. mp : IO : MPAGE *
Syntaxe
MP_down_window(mp, nl)
MPAGE *mp;
int nl;
Description
Scroll n lines in buffer (and redisplay). Read the nl next records (if necessary) and store in buffer. mp : IO : MPAGE * nl : IN : nb of lines to scroll
Syntaxe
MP_end(mp)
MPAGE *mp;
Description
Move to last rec of the screen mp : IO : MPAGE *
Syntaxe
MP_home(mp)
MPAGE *mp;
Description
Move to first rec mp : IO : MPAGE *
Syntaxe
MP_isam_to_buf(mp)
MPAGE *mp;
Description
Copy the isam record in buffer and lpgs at the current position mp : IO : MPAGE *
Syntaxe
MP_pg_down(mp)
MPAGE *mp;
Description
Move one page down. mp : IO : MPAGE *
Syntaxe
MP_pg_up(mp)
MPAGE *mp;
Description
Move one page up. mp : IO : MPAGE *
Syntaxe
MP_retrieve_rec(mp)
MPAGE *mp;
Description
Retrieve old rec before saving modified page mp : IO : MPAGE *
Syntaxe
MP_up(mp)
MPAGE *mp;
Description
Move one record up. mp : IO : MPAGE *
Syntaxe
MP_up_window(mp, nl)
MPAGE *mp;
int nl;
Description
Scroll n lines in buffer (and redisplay). A current record will be defined if needed Read the nl previous records (if necessary) and store in buffer. mp : IO : MPAGE * nl : IN : nb of lines to scroll
Copyright © 1998-2001 Jean-Marc and Bernard PAUL - Envoyez vos remarques ou commentaires à bp@xon.be