Page 1 of 1

DEFINE PAGE

Posted: Sat Jan 22, 2011 2:17 am
by danielmaximiliano
Hi Everyone:
HMG.4 found in something new called NAME in DEFINE PAGE

Code: Select all

DEFINE PAGE 'One' NAME Page1
if within a TAB to place a PAGE and defined with a name
I can erase it with his name as such in the example provided?
in HMG.4 not help me
..\hmg.4\svn\samples\tab\demo_3.PRG

Code: Select all

ITEM 'Delete Page 2'               ACTION Tab1:DeletePage(2)
and I delete all the pages associated with a name characteristic
example:
Customer := "John"
deletepage (Name &Customer + STR (nPage))


EspaƱol
Hola a Todos :
Encontre que en HMG.4 algo nuevo llamado NAME en DEFINE PAGE

Code: Select all

DEFINE PAGE 'One' NAME Page1
si dentro de un TAB colocar un PAGE y poder definirlo con un Nombre
puedo borrarlo con su nombre propiamente dicho?
en el ejemplo incluido en HMG.4 no me ayuda mucho
..\hmg.4\svn\samples\tab\demo_3.PRG

Code: Select all

ITEM 'Delete Page 2'               ACTION Tab1:DeletePage(2)
ya que quiero borrar todos las paginas asociadas a un nombre caracteristico
ejemplo
Cliente := "Jhon"
DeletePage(Name &Cliente+STR(nPage))

Saludos / Regards
DaNiElMaXiMiLiAnO