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

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

Postby Kleyber » Sat Nov 03, 2012 9:41 pm

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
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)

Postby Sistem » Sat Nov 03, 2012 9:54 pm

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
Sistem
 
Posts: 226
Joined: Sun May 13, 2012 7:52 am

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

Postby Antonio Linares » Sun Nov 04, 2012 1:04 pm

SIstem,

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

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

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

Postby Antonio Linares » Sun Nov 04, 2012 1:05 pm

Clase TCheckBox:

Image

Ejemplo:
Code: Select all  Expand view
// 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/downloads/detail?name=fiveweb_0.6.zip&can=2&q=
regards, saludos

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

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

Postby Antonio Linares » Sun Nov 04, 2012 1:11 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Enrrique Vertiz » Sun Nov 04, 2012 4:24 pm

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.1026X, Fwh 24.09, BCC74, MySQL 8.0.X, SQLLIB 1.9m
Enrrique Vertiz
 
Posts: 541
Joined: Fri Oct 07, 2005 2:17 pm
Location: Lima - Peru

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

Postby Otto » Sun Nov 04, 2012 6:01 pm

>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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

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

Postby Antonio Linares » Sun Nov 04, 2012 6:54 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Sun Nov 04, 2012 6:55 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Sun Nov 04, 2012 7:00 pm

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Sun Nov 04, 2012 7:12 pm

regards, saludos

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

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

Postby Sistem » Sun Nov 04, 2012 10:20 pm

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
Sistem
 
Posts: 226
Joined: Sun May 13, 2012 7:52 am

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

Postby QAZWSX2K » Mon Nov 05, 2012 12:47 am

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
QAZWSX2K
 
Posts: 364
Joined: Tue Oct 25, 2005 7:06 pm
Location: Bogota - Caracas

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

Postby mastintin » Mon Nov 05, 2012 10:30 am

Añadida una version preliminar de Radiobuttons y testradio.prg al repositorio. Antonio falta revisarla y mejorarla pero funciona.
Code: Select all  Expand view


#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
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

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

Postby Antonio Linares » Mon Nov 05, 2012 11:39 am

Manuel,

gracias! :-)

Image
regards, saludos

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

PreviousNext

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests