diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 17fe5a48dc..3a1808f0fa 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,24 @@ +2001-07-22 18:00 GMT -3 Luiz Rafael Culik + * utils/hbmake/hbmake.prg + * Added suport for !iffile/!else/!endif and !stdout + * utils/hbdoc/hbdoc.prg + * Updated Copyright Date + +include/hbgetcmt.ch + *Include file for Ca-Clippr 5.3 Get Compatible Controls + +source/rtl/radiobtn.prg + *Radio Button Class Compatible with Ca-Clipper 5.3 + +source/rtl/radiogrp.prg + *Radio Group Class Compatible with Ca-Clipper 5.3 + *tests/tstchbx.prg + *Updated to demostrate the work of RadioButton/RadioGroup Classes + *hb_slex.bc + makefile.bc + hb_slex.vc + makefile.vc + source/rtl/makefile + *Added radiobtn.prg and radiogrp.prg to dependencie list + + 2001-07-22 20:15 UTC+0100 Ryszard Glab *include/hbapi.h diff --git a/harbour/doc/es/dir.txt b/harbour/doc/es/dir.txt index f7a5b7d795..c25ff8d64e 100644 --- a/harbour/doc/es/dir.txt +++ b/harbour/doc/es/dir.txt @@ -36,11 +36,11 @@ * todos los *.DBF en la ruta SET DEFAULT. Esta información contiene: * - Nombre del archivo * - Numero de registros - * - Fecha de la ultima actualización - * - Tamaño de cada archivo. + * - Fecha de la ultima actualización + * - Tamaño de cada archivo. * * Si es dada, __Dir() lista todos los archivos que coinciden - * con la máscara en los siguientes detalles: Nombre, Extensión, Tamaño, + * con la máscara en los siguientes detalles: Nombre, Extensión, Tamaño, * Fecha. * * El comando DIR es pre-procesado en la función __Dir() durante el @@ -103,11 +103,11 @@ * todos los *.DBF en la ruta SET DEFAULT. esta información contiene: * - Nombre del archivo * - Número de registros - * - Fecha de la ultima actualización - * - Tamaño de cada archivo. + * - Fecha de la ultima actualización + * - Tamaño de cada archivo. * * Si es dada, __Dir() lista todos los archivos que coinciden - * con la máscara en los siguientes detalles: Nombre, Extensión, Tamaño, + * con la máscara en los siguientes detalles: Nombre, Extensión, Tamaño, * Fecha. * * El comando DIR es pre-procesado en la función __Dir() durante el @@ -116,7 +116,7 @@ * __Dir() es una función de compatibilidad, esta fué superada por * DIRECTORY(), la cual devuelve toda la información en un arreglo * multidimensional. - * $EXAMPLES$ + * $EXAMPLES$ * __Dir() // Información de todos los DBF en el directorio actual * @@ -167,7 +167,7 @@ * * Array para llenar con el Nombre de los archivos que cumplen * con . Cada elemento es una cadena de caracteres que incluye - * el Nombre y Extensión del archivo sin la ruta de acceso. + * el Nombre y Extensión del archivo sin la ruta de acceso. * Nombre es el nombre largo de archivo como es reportado por el sistema * operativo y no necesariamente en el formato mayúsculas 8.3 del D.O.S. * @@ -188,7 +188,7 @@ * Vea DIRECTORY() por información sobre los valores de los atributos. * Si Ud. pasa un array a , la función va a devolver archivos * con los atributos Normal, Oculto (H), sistema (S) y directorio (D) - * Si no es especificado o es distinto de un array solo + * Si no es especificado o es distinto de un array solo * archivos con atributo normal porian ser devueltos. * * Nota: Al momento de escribir esta documentación todavia no había @@ -201,8 +201,8 @@ * ADIR() retorna el número de archivos y/o directorios que cumplen con * un formato especificado, este tambien llena una serie de arrays con * Nombre, Tamaño, Fecha, Hora y Atributo de estos archivos. - * El array pasado debe ser pre-inicializado al tamaño apropiado, vea el - * ejemplo más abajo. + * El array pasado debe ser pre-inicializado al tamaño apropiado, vea el + * ejemplo más abajo. * Con motivo de incluir los atributos Oculto (H), sistema (S) o de * directorio (D) debe ser especificado. * diff --git a/harbour/hb_slex.bc b/harbour/hb_slex.bc index 34547bb0f8..f6b934c1c3 100644 --- a/harbour/hb_slex.bc +++ b/harbour/hb_slex.bc @@ -306,6 +306,8 @@ RTL_LIB_OBJS = \ $(OBJ_DIR)\memvarbl.obj \ $(OBJ_DIR)\menuto.obj \ $(OBJ_DIR)\objfunc.obj \ + $(OBJ_DIR)\radiobtn.obj \ + $(OBJ_DIR)\radiogrp.obj \ $(OBJ_DIR)\readkey.obj \ $(OBJ_DIR)\readvar.obj \ $(OBJ_DIR)\setfunc.obj \ @@ -1476,6 +1478,20 @@ $(OBJ_DIR)\philesx.obj : $(RTL_DIR)\philesx.c $(CC) $(CLIBFLAGS) -o$@ $** tlib $(RTL_LIB) $(ARFLAGS) -+$@,, +$(OBJ_DIR)\radiobtn.c : $(RTL_DIR)\radiobtn.prg + $(HARBOUR_EXE) $(HARBOURFLAGS) $** -o$@ + +$(OBJ_DIR)\radiobtn.obj : $(OBJ_DIR)\radiobtn.c + $(CC) $(CLIBFLAGS) -o$@ $** + tlib $(RTL_LIB) $(ARFLAGS) -+$@,, + +$(OBJ_DIR)\radiogrp.c : $(RTL_DIR)\radiogrp.prg + $(HARBOUR_EXE) $(HARBOURFLAGS) $** -o$@ + +$(OBJ_DIR)\radiogrp.obj : $(OBJ_DIR)\radiogrp.c + $(CC) $(CLIBFLAGS) -o$@ $** + tlib $(RTL_LIB) $(ARFLAGS) -+$@,, + $(OBJ_DIR)\rat.obj : $(RTL_DIR)\rat.c $(CC) $(CLIBFLAGS) -o$@ $** tlib $(RTL_LIB) $(ARFLAGS) -+$@,, diff --git a/harbour/hb_slex.vc b/harbour/hb_slex.vc index aaa49e53f5..5729899745 100644 --- a/harbour/hb_slex.vc +++ b/harbour/hb_slex.vc @@ -340,6 +340,8 @@ RTL_LIB_OBJS = \ $(OBJ_DIR)\memvarbl.obj \ $(OBJ_DIR)\menuto.obj \ $(OBJ_DIR)\objfunc.obj \ + $(OBJ_DIR)\radiobtn.obj \ + $(OBJ_DIR)\radiogrp.obj \ $(OBJ_DIR)\readkey.obj \ $(OBJ_DIR)\readvar.obj \ $(OBJ_DIR)\setfunc.obj \ diff --git a/harbour/include/hbgetcmt.ch b/harbour/include/hbgetcmt.ch new file mode 100644 index 0000000000..3bd715ce94 --- /dev/null +++ b/harbour/include/hbgetcmt.ch @@ -0,0 +1,117 @@ + +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Header file for Clipper 5.3 Compatible Get Commands + * + * Copyright 2001 Luiz Rafael Culik + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +#include "hbsetup.ch" +#ifndef _HBGETCMT_CH +#define _HBGETCMT_CH +#ifdef HB_COMPAT_C53 + +#command @ , GET ; + CHECKBOX ; + [VALID ] ; + [WHEN ] ; + [CAPTION ] ; + [MESSAGE ] ; + [COLOR ] ; + [FOCUS ] ; + [STATE ] ; + [STYLE