Declare IsNTAdmin IN advpack.dll ; LONG dwReserved, ; LONG lpdwReserved ? IsNTAdmin(0,0)
Jorge Mota
Declare IsNTAdmin IN advpack.dll ; LONG dwReserved, ; LONG lpdwReserved ? IsNTAdmin(0,0)
Local Caption_F, Ciclo if _screen.formcount=0 ? 'Ningun Formulario Abierto.' RETURN endif dimension CAPTION_F [ _SCREEN.FORMCOUNT] **Obtenemos los captions, y los metemos a la matriz for Ciclo = 1 to _SCREEN.FORMCOUNT caption_F[ciclo]=ALLTRIM(_screen.forms(ciclo).caption) endfor ***mostramos los captions encontrados. for Ciclo = 1 to _SCREEN.FORMCOUNT ? 'Numero ' + STR(CICLO) + ' Caption: ' + caption_F[ciclo] endforJorge Mota