Agregar datos en .prg

Buen Dia, nesecito agregar un dato a una extencion .prg en visual fox, la programacion esta de la siguiente manera
ADD OBJECT cbotoyear AS combobox WITH ;
        FontName = "MS Sans Serif", ;
        FontSize = 8, ;
        RowSourceType = 1, ;
        RowSource = "2001,2002,2003,2004,2005,2006,2007,2008,2009,2010", ;
        Value = (STR(2010)), ;
        Height = 23, ;
        Left = 250, ;
        TabIndex = 7, ;
        Top = 66, ;
        Width = 100, ;
        Name = "cboToYear"
nesecito agregar el año 2011 la parte de RowSource y en value tambien 2011, he intentado con insert y replace y no he podido, agradezco su amable colaboracion

1 Respuesta

Respuesta
1
ADD OBJECT cbotoyear AS combobox WITH ;
        FontName = "MS Sans Serif", ;
        FontSize = 8, ;
        RowSourceType = 1, ;
        RowSource = "2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011", ;
        Value = (STR(2011)), ;
        Height = 23, ;
        Left = 250, ;
        TabIndex = 7, ;
        Top = 66, ;
        Width = 100, ;
        Name = "cboToYear"
Comenta si funciona,...

Añade tu respuesta

Haz clic para o

Más respuestas relacionadas