FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sat Nov 03, 2012 09: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
Posts: 226
Joined: Sun May 13, 2012 07:52 AM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sat Nov 03, 2012 09: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 01:04 PM

SIstem,

Lo estas copiando a la carpeta cgi-bin ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 01:05 PM
Clase TCheckBox:



Ejemplo:
Code (fw): Select all Collapse
// 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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 01: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
Posts: 582
Joined: Fri Oct 07, 2005 02:17 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 04: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 25.01, BCC74, MySQL 8.0.X, SQLLIB 1.9m
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 06:01 PM

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

Hello Antonio,
I hope I didn鈥檛 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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 06: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 06: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 07: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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 07:12 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 226
Joined: Sun May 13, 2012 07:52 AM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Sun Nov 04, 2012 10:20 PM

Lo estas copiando a la carpeta cgi-bin ?
s铆

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

voy prueba el Xampp.

gracias

FWH2008 | xHarbour | BCC74 | SQLRDD
Posts: 364
Joined: Tue Oct 25, 2005 07:06 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: 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
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: 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 (fw): Select all Collapse
#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
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWeb de FiveTech (gratis hasta la versi贸n 1.0)
Posted: Mon Nov 05, 2012 11:39 AM
Manuel,

gracias! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com