Commit inicial: fuentes MBS ERP (Genero 6) + .gitignore + docs/SETUP_PC_MBS.md

This commit is contained in:
2026-08-18 20:59:52 -04:00
commit 454973e269
5978 changed files with 2664094 additions and 0 deletions
@@ -0,0 +1,33 @@
DEFINE usuario, clave STRING
MAIN
CLOSE WINDOW SCREEN
OPEN WINDOW w WITH FORM "form"
INPUT BY NAME usuario,clave ATTRIBUTES (WITHOUT DEFAULTS)
ON ACTION show_password
CALL toggle_password("formonly.clave")
END INPUT
END MAIN
FUNCTION toggle_password(f)
DEFINE f STRING -- field name
DEFINE n om.domnode
DEFINE w ui.window
LET w = ui.window.getCurrent()
LET n = w.findNode ("FormField", f)
LET n = n.getFirstChild ()
CASE n.getAttribute("isPassword")
WHEN "0"
CALL n.setAttribute ("isPassword", "1")
WHEN "1"
CALL n.setAttribute ("isPassword", "0")
END CASE
END FUNCTION