Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Dialogue box


From   "Steichen, Thomas J." <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Dialogue box
Date   Thu, 12 Mar 2009 16:10:57 -0400

The following formats the box so everything fits... However, I do not know whether the box will do anything useful.

Cheers,
Tom

VERSION 1.0
POSITION . . 430 580
DIALOG main, label("Republica dominicana") tabtitle("Variables")
BEGIN
GROUPBOX variables   5  58  260  180, label("Escenarios, grupos de ninos, alcance")
    TEXT lab1        20  +25 180  10, label("Escenario (SIUBEN 1, 2 ó 1y2")
    EDIT i           190 @   60   20, label(i)
    TEXT lab2        20  +25 180  10, label("Ninos de '6_16' (anos)")
    EDIT n2          190 @   60   20, label(n2)
    TEXT lab3        20  +25 180  10, label("Alcance (%)")
    EDIT alcance     190 @   60   20, label(alcance)
    TEXT lab4        20  +25 180  10, label("Ninos edad minima (anos)")
    EDIT edadmin     190 @   60   20, label(edadmin)
    TEXT lab5        20  +25 180  10, label("Ninos edad máxima (anos)")
    EDIT edadmax     190 @   60   20, label(edadmax)
    TEXT lab6        20  +25 180  10, label("Edad maxima del mas joven")
    EDIT edadmaxnut  190 @   60   20, label(edadmaxnut)
GROUPBOX variablef   275 58  150 180, label("Brecha de pobreza")
    TEXT lab7        285  +25 80  10, label("Factor (>=1)")
    EDIT factor      350 @   60   20, label(factor)
GROUPBOX Transfer    5  245  420 330, label("Transferencias en $RD (hasta dos opciones)")
    TEXT lab8        20  +25 180  10, label("Opcion 1: Salud / Educacion")
    EDIT transfa1    190 @   60   20, label(transfa1)
    EDIT transfe1    280 @   60   20, label(transfe1)
    TEXT lab9        20  +25 180  10, label("Opción 2: Salud / Educacion")
    EDIT transfa2    190 @   60   20, label(transfa2)
    EDIT transfe2    280 @   60   20, label(transfe2)
    TEXT lab10       20  +25 180  10, label("Opción 2: a grado 0 y 1")
    EDIT transfe20   190 @   60   20, label(transfe20)
    EDIT transfe21   280 @   60   20, label(transfe21)
    TEXT lab11       20  +25 180  10, label("Opción 2: a grado 2 y 3")
    EDIT transfe22   190 @   60   20, label(transfe22)
    EDIT transfe23   280 @   60   20, label(transfe23)
    TEXT lab12       20  +25 180  10, label("Opción 2: a grado 4 y 5")
    EDIT transfe24   190 @   60   20, label(transfe24)
    EDIT transfe25   280 @   60   20, label(transfe25)
    TEXT lab13       20  +25 180  10, label("Opción 2: a grado 6 y 7")
    EDIT transfe26   190 @   60   20, label(transfe26)
    EDIT transfe27   280 @   60   20, label(transfe27)
    TEXT lab14       20  +25 180  10, label("Opción 2: a grado 7 y 8")
    EDIT transfa28   190 @   60   20, label(transfe28)
    EDIT transfe29   280 @   60   20, label(transfe29)
    TEXT lab15       20  +25 180  10, label("Opción 2: a grado 9 y 10")
    EDIT transfe30   190 @   60   20, label(transfe30)
    EDIT transfe31   280 @   60   20, label(transfe31)
    TEXT lab16       20  +25 180  10, label("Opción 2: a grado 11 y 12")
    EDIT transfe32   190 @   60   20, label(transfe32)
    EDIT transfe33   280 @   60   20, label(transfe33)
    TEXT lab17       20  +25 180  10, label("Opción 2: máxima por hogar")
    EDIT maxxhog     190 @   60   20, label(maxxhog)
    TEXT lab18       20  +25 180  10, label("Opción 2: tipo de sobreedad")
    EDIT calc        190 @   60   20, label(calc)
    TEXT lab19       20  +25 180  10, label("Opción 2: máxima sobreedad")
    EDIT maxsobred   190 @   60   20, label(maxsobred)
GROUPBOX files         5   5 420  45, label("Ubicación de archivo")
    TEXT files1      20 +15  180  10, label("Archivo *.dta")
    FILE path1        90 @   320  20, label(Buscar) default("")
END

OK ok1,      label("Aceptar")
CANCEL can1, label("Cancelar")
PROGRAM command
BEGIN
    put "republicadominicana"
    beginoptions
            put " i("main.i
            put ")  "
             put " n2("main.n2
            put ")  "
             put " alcance("main.alcance
            put ")  "
             put " edadmin("main.edadmin
            put ")  "
            put " edadmax("main.edadmax
            put ")  "
            put " edadmaxnut("main.edadmaxnut
            put ")  "
            put " factor("main.factor
            put ")  "
            put " transfa1("main.transfa1
            put ")  "
            put " transfe1("main.transfe1
            put ")  "
             put " transfa2("main.transfa2
            put ")  "
            put " transfe2("main.transfe2
            put ")  "
             put " transfe20("main.transfe20
            put ")  "
             put " transfe21("main.transfe21
            put ")  "
             put " transfe22("main.transfe22
            put ")  "
             put " transfe23("main.transfe23
            put ")  "
             put " transfe24("main.transfe24
            put ")  "
             put " transfe25("main.transfe25
            put ")  "
             put " transfe26("main.transfe26
            put ")  "
             put " transfe27("main.transfe27
            put ")  "
             put " transfe28("main.transfe28
            put ")  "
             put " transfe29("main.transfe29
            put ")  "
             put " transfe30("main.transfe30
            put ")  "
             put " transfe31("main.transfe31
            put ")  "
             put " transfe32("main.transfe32
            put ")  "
             put " transfe33("main.transfe33
            put ")  "
             put " maxxhog("main.maxxhog
            put ")  "
             put " calc("main.calc
            put ")
             put " maxsobred("main.maxsobred
            put ")
             put " path1("main.path1
             put ")  "
      endoptions
END


-----------------------------------
Thomas J. Steichen
[email protected]
-----------------------------------

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Solorzano Mosquera, Jenniffer
Sent: Thursday, March 12, 2009 2:33 PM
To: [email protected]
Subject: st: Dialogue box

Hi, any error here?
This dialogue box does not open. This error message pop up: "Insufficient resources to load dialogue"
Thanks

VERSION 1.0
POSITION . . 500 450
DIALOG main, label("Republica dominicana") tabtitle("Variables")
BEGIN

GROUPBOX variables   5  68  450  160, label("Escenarios, grupos de ninos, alcance")
    TEXT lab1        20  +25 880  10, label("Escenario (SIUBEN 1, 2 ó 1y2")
    EDIT i           190 @   60   20, label(i)
    TEXT lab2        20  +25 970  10, label("Ninos de '6_16' (anos)")
    EDIT n2          190 @   60   20, label(n2)
    TEXT lab3       20  +25 1060 10, label("Alcance (%)")
    EDIT alcance     190 @   60   20, label(alcance)
    TEXT lab4        20  +25 880  10, label("Ninos edad minima (anos)")
    EDIT edadmin     190 @   60   20, label(edadmin)
    TEXT lab5        20  +25 970  10, label("Ninos edad máxima (anos)")
    EDIT edadmax     190 @   60   20, label(edadmax)
    TEXT lab6      20  +25 1060 10, label("Edad maxima del mas joven")
    EDIT edadmaxnut  190 @   60   20, label(edadmaxnut)
GROUPBOX variables   5  68  450  160, label("Brecha de pobreza")
    TEXT lab7        20  +25 880  10, label("Factor (>=1)")
    EDIT factor      190 @   60   20, label(factor)
GROUPBOX Transfer    5  240  350 230, label("Transferencias en $RD (hasta dos opciones)")
    TEXT lab8        20  +25 1150 10, label("Opcion 1: Salud / Educacion")
    EDIT transfa1    190 @   60   20, label(transfa1)
    EDIT transfe1    280 @   60   20, label(transfe1)
    TEXT lab9        20  +25 1240 10, label("Opción 2: Salud / Educacion")
    EDIT transfa2    190 @   60   20, label(transfa2)
    EDIT transfe2    280 @   60   20, label(transfe2)
    TEXT lab10        20  +25 1330 10, label("Opción 2: a grado 0 y 1")
    EDIT transfe20   190 @   60   20, label(transfe20)
    EDIT transfe21   280 @   60   20, label(transfe21)
    TEXT lab11        20  +25 1420 10, label("Opción 2: a grado 2 y 3")
    EDIT transfe22   190 @   60   20, label(transfe22)
    EDIT transfe23   280 @   60   20, label(transfe23)
    TEXT lab12        20  +25 1510 10, label("Opción 2: a grado 4 y 5")
    EDIT transfe24   190 @   60   20, label(transfe24)
    EDIT transfe25   280 @   60   20, label(transfe25)
    TEXT lab13        20  +25 1600 10, label("Opción 2: a grado 6 y 7")
    EDIT transfe26   190 @   60   20, label(transfe26)
    EDIT transfe27   280 @   60   20, label(transfe27)
    TEXT lab14        20  +25 1240 10, label("Opción 2: a grado 7 y 8")
    EDIT transfa28    190 @   60   20, label(transfe28)
    EDIT transfe29    280 @   60   20, label(transfe29)
    TEXT lab15        20  +25 1330 10, label("Opción 2: a grado 9 y 10")
    EDIT transfe30   190 @   60   20, label(transfe30)
    EDIT transfe31   280 @   60   20, label(transfe31)
    TEXT lab16        20  +25 1420 10, label("Opción 2: a grado 11 y 12")
    EDIT transfe32   190 @   60   20, label(transfe32)
    EDIT transfe33   280 @   60   20, label(transfe33)
    TEXT lab17       20  +25 1690 10, label("Opción 2: máxima por hogar")
    EDIT maxxhog     190 @   60   20, label(maxxhog)
    TEXT lab18       20  +25 1690 10, label("Opción 2: tipo de sobreedad")
    EDIT calc        190 @   60   20, label(calc)
    TEXT lab19       20  +25 1690 10, label("Opción 2: máxima sobreedad")
    EDIT maxsobred   190 @   60   20, label(maxsobred)
GROUPBOX files        5  10  420  45, label("Ubicación de archivo")
        TEXT files1  20  +15  180 10, label("Archivo *.dta")
        FILE path1    90 @   320  20, label(Buscar) default("")
END

OK ok1,      label("Aceptar")
CANCEL can1, label("Cancelar")
PROGRAM command
BEGIN
    put "republicadominicana"
    beginoptions
            put " i("main.i
            put ")  "
             put " n2("main.n2
            put ")  "
             put " alcance("main.alcance
            put ")  "
             put " edadmin("main.edadmin
            put ")  "
            put " edadmax("main.edadmax
            put ")  "
            put " edadmaxnut("main.edadmaxnut
            put ")  "
            put " factor("main.factor
            put ")  "
            put " transfa1("main.transfa1
            put ")  "
            put " transfe1("main.transfe1
            put ")  "
             put " transfa2("main.transfa2
            put ")  "
            put " transfe2("main.transfe2
            put ")  "
             put " transfe20("main.transfe20
            put ")  "
             put " transfe21("main.transfe21
            put ")  "
             put " transfe22("main.transfe22
            put ")  "
             put " transfe23("main.transfe23
            put ")  "
             put " transfe24("main.transfe24
            put ")  "
             put " transfe25("main.transfe25
            put ")  "
             put " transfe26("main.transfe26
            put ")  "
             put " transfe27("main.transfe27
            put ")  "
             put " transfe28("main.transfe28
            put ")  "
             put " transfe29("main.transfe29
            put ")  "
             put " transfe30("main.transfe30
            put ")  "
             put " transfe31("main.transfe31
            put ")  "
             put " transfe32("main.transfe32
            put ")  "
             put " transfe33("main.transfe33
            put ")  "
             put " maxxhog("main.maxxhog
            put ")  "
             put " calc("main.calc
            put ")
             put " maxsobred("main.maxsobred
            put ")
             put " path1("main.path1
             put ")  "
      endoptions
END

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

CONFIDENTIALITY  NOTE:  This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index