FiveWeb de FiveTech (gratis hasta la versión 1.0)

User avatar
Kleyber
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Kleyber »

Antonio,

Te felicito por lo que estas haciendo con Fiveweb. Solo tengo dos preguntas:

1 - Como has planeado la creación de las windows y dialogos desde recursos? Seria algo como hacer con Dreamweaver o algo asi?

2 - Has mirado Scriptcase? Es una herramienta que usa PHP+Ajax+Javascript y que te da la ventaja de hacer pantallas en muy poco tiempo!! Era algo asi que deseaba para Fiveweb. Es esto posible? (www.scriptcase.com.br).
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Sistem
Posts: 224
Joined: Sun May 13, 2012 7:52 am

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Sistem »

en mi host no funciona
el siguiente error se produce cuando se ejecuta el ejemplo (tutor01.exe):
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
FWH2008 | xHarbour | BCC74 | SQLRDD
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

SIstem,

Lo estas copiando a la carpeta cgi-bin ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Clase TCheckBox:

Image

Ejemplo:

Code: Select all

// Using controls

#include "FiveWeb.ch"

function Main()

   local oDlg, lValue := .T.
   
   DEFINE DIALOG oDlg TITLE "Hello FiveWeb" SIZE 600, 400
   
   @ 120,  70 BUTTON "One" SIZE 120, 50 OF oDlg

   @ 120, 220 BUTTON "Two" SIZE 120, 50 OF oDlg

   @ 120, 370 BUTTON "Three" SIZE 120, 50 OF oDlg
   
   @ 200, 160 CHECKBOX lValue PROMPT "Tested" SIZE 150, 40 OF oDlg
   
   ACTIVATE DIALOG oDlg 

return nil
http://code.google.com/p/fiveweb/downlo ... p&can=2&q=
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Kleyber,

Tal como estamos construyendo FiveWeb podriamos usar los RCs estandard de las aplicaciones Windows :-)

poco a poco... :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Enrrique Vertiz
Posts: 440
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Enrrique Vertiz »

Antonio, como dirian los Jedi, que la fuerza te acompañe !!!
Fiveweb es algo que estabamos esperando ...
Enrrique Vertiz Pitta
Lima-Peru
xHb 1.23, Fwh 20.04, MySQL 5.7 - 8.0, SQLLIB 1.9m, SQLRDD
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Otto »

>Tal como estamos construyendo FiveWeb podriamos usar los RCs estandard de las aplicaciones Windows

Hello Antonio,
I hope I didn’t misunderstand something.
I changed all my resource codeing to hardcodeing to get a Metro similar look.
Do you think also Metro inspired style coding is possible with RC files.
Can you use RC files with WINDOWS or PANELS?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Otto,

RCs are just a little databases where controls descriptions are stored along with their properties (position, dimension, caption, etc.)

If we read a portion of a RC and analyze it then we can transform it using some patterns that could produce a desired output format.

Thats why I think that we can reuse them :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Otto,

Once we have the info already read from the RC then we can create the controls on a window, panel, etc

no limits :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Otto,

In samples\re.prg we read a RC and analyze it.

Basically thats what we need: read it, identify a certain dialog and then create the controls ourselves based on the RC info

There are other ways to do it even easier. We create the controls the typicall FWH way and then we change their "parent" ( SetParent() ) so they will become childs of our window, panel, etc :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Sistem
Posts: 224
Joined: Sun May 13, 2012 7:52 am

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Sistem »

Lo estas copiando a la carpeta cgi-bin ?

http://sistem.net.br/cgi-bin/tutor01.exe

voy prueba el Xampp.

gracias
FWH2008 | xHarbour | BCC74 | SQLRDD
User avatar
QAZWSX2K
Posts: 359
Joined: Tue Oct 25, 2005 7:06 pm
Location: Bogota - Caracas

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by QAZWSX2K »

copie ese ejemplo en http://www.contafuturo.com/cgi-bin/tutor01.exe, le di permisos de ejecutacion o mejor dicho 777 pero me sale esto

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@contafuturo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_jk/1.2.32 FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 PHP/5.2.17 Server at www.contafuturo.com Port 80
Software especializado para oficinas contables con grandes volumenes de Informacion
Impresion de todos los formularios del Seniat, Dian

alex_patino74@hotmail.com
whatsapp 57+3214777217
User avatar
mastintin
Posts: 1502
Joined: Thu May 27, 2010 2:06 pm

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by mastintin »

Añadida una version preliminar de Radiobuttons y testradio.prg al repositorio. Antonio falta revisarla y mejorarla pero funciona.

Code: Select all


#include "FiveWeb.ch"

function Main()

   local oDlg
   local oRad
   
   DEFINE DIALOG oDlg TITLE "Hello FiveWeb" SIZE 600, 400
   
   @ 20,16 RADIO oRad ITEMS "uno","dos","tres" OF oDlg SIZE 50,50 
    
     
   ACTIVATE DIALOG oDlg 

return nil


Return nil


 
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FiveWeb de FiveTech (gratis hasta la versión 1.0)

Post by Antonio Linares »

Manuel,

gracias! :-)

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply