Search found 815 matches

by Bayron
Sun Jul 05, 2020 12:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1430

Re: bad calculation prices for days

Hi Silvio, There are several problems with your question 1 the relation between prices don't match as pointed by Antonio 2 It makes absolutely no sense to have an array of prices, if every single component of the array is the same, just multiplied by the price of a single day. 3 For what i see, from...
by Bayron
Sun Mar 29, 2020 12:26 pm
Forum: Off Topic / Otros temas
Topic: Windows Calculator Source Code
Replies: 0
Views: 2351

Windows Calculator Source Code

To learn or if you want to contribute... Or as I did, just to take a look...

https://github.com/Microsoft/calculator
by Bayron
Sun Mar 15, 2020 2:56 pm
Forum: mod_harbour
Topic: callphp.prg from mod_harbour_master samples (RESOLVED)
Replies: 1
Views: 1382

callphp.prg from mod_harbour_master samples (RESOLVED)

This is a very simple and interesting example...

Can you, if possible, please share the 2nd file
"getip.php"
so we can see how to make the information available from the other server...

thanks
by Bayron
Sun Nov 17, 2019 12:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: problem with GET and “” chars
Replies: 10
Views: 894

Re: problem with GET and “” chars

So, following my Idea, I copied the text directly to my PRG file, to test the conversion Formulas, and I got this MOISES.prg(22) Error E0030 Syntax error "syntax error at 'ô'" That means that other characters are in fact being copied in my computer, together with the copied text, as I have...
by Bayron
Sun Nov 17, 2019 12:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: problem with GET and “” chars
Replies: 10
Views: 894

Re: problem with GET and “” chars

Furthermore, if I activate

Code: Select all

FW_SetUniCode(.T.)
when I paste the text, I loose the last character (")

Forgive my ignorance on this aspect, but may it be that something like what they call the UTF8 BOM may be attached to the pasted text????
by Bayron
Sun Nov 17, 2019 12:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: problem with GET and “” chars
Replies: 10
Views: 894

Re: problem with GET and “” chars

Doing some fast testing, I can duplicate the behavior, I'm doing my test based on the idea of some kind of format being pasted to the get together with the text.... on different versions of FWH up to 12.04, and tested on an application compliled on 18.??? Windows 8.1 If I copy the text from Open Off...
by Bayron
Fri Nov 15, 2019 1:27 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda para Obtener el Dia de Semana de Fecha SOLUCIONADO
Replies: 11
Views: 1123

Re: Ayuda para Obtener el Dia de Semana de Fecha

Casi lo olvido, hace mucho que no programo, pero la tenia por ahi... Despues del año 2000, ya no se dice de 2000 sino del 2000 FUNCTION FechaLet()     LOCAL cMes := { 'Enero     ', 'Febrero   ', 'Marzo     ', 'Abril     ',;         'Mayo      ', 'Junio     ', 'Julio     ', 'Agosto    ',;         'Se...
by Bayron
Wed Nov 13, 2019 6:29 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda para Obtener el Dia de Semana de Fecha SOLUCIONADO
Replies: 11
Views: 1123

Re: Ayuda para Obtener el Dia de Semana de Fecha

Code: Select all

DayOfWeek := STRTRAN(cdow(Date()), "á", "a")

 
by Bayron
Sun Oct 27, 2019 1:25 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ajustar columna XBrowse(SOLUCIONADO)
Replies: 8
Views: 692

Re: ajustar columna XBrowse

Esto puede darte una idea

Code: Select all

ListVentWidth :=  oDialog:nWidth;

xBrowse oBrw OF oDialog ;
FIELDSIZES ( ListVentWidth * .10 ) , ( ListVentWidth * .50 ) , ( ListVentWidth * .15 ) , ( ListVentWidth * .25 );
by Bayron
Sun Oct 27, 2019 1:12 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Re: efecto pijama en XBrowse (SOLUCIONADO)
Replies: 2
Views: 384

Re: efecto pijama en XBrowse

Intenta

Code: Select all

oBrw:bClrStd  := { || If( Eval( oBrw:bKeyNo,,oBrw) % 2 == 0, { CLR_BLACK, RGB( 224, 236, 255 ) }, { CLR_BLACK, RGB( 189, 211, 253 ) } ) }
by Bayron
Thu Oct 25, 2018 4:25 am
Forum: FiveWin for Harbour/xHarbour
Topic: Responsive desktop design
Replies: 19
Views: 4484

Re: Responsive desktop design

By this approach, I can also control the size of my dialog, in this case, using a configuration file..

https://www.youtube.com/watch?v=PVQpK-Eu7qo

or on the fly

https://www.youtube.com/watch?v=W6ZiCdad-nY
by Bayron
Thu Oct 25, 2018 4:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: Responsive desktop design
Replies: 19
Views: 4484

Re: Responsive desktop design

I believe there is a class named tLayout, that can be used as you describe, I remember I used it once on a test, but it didn't do everything I wanted... My solution was to hardcode everything... No more RESOURCES It does takes a lot of work and it takes a lot of control while programming, especially...
by Bayron
Thu Jun 15, 2017 12:00 am
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Num2Word.prg
Replies: 17
Views: 2081

Re: Antonio: Num2Word.prg

Spanish is a bit more complicated, because at least in the case of 1, can be said in two different ways depending of its use... This was around 2003, made this just for fun, i never look back at it, because I never need it.... For sure in spanish you wont want it to say Ciento uno mil, quinientos un...
by Bayron
Sun May 14, 2017 6:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Usar Harbour compiler en aplicaciones comerciales
Replies: 12
Views: 1569

Re: Usar Harbour compiler en aplicaciones comerciales

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 c...
by Bayron
Fri Sep 23, 2016 11:11 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Pantalla negra detras de ventana (SOLUCIONADO)
Replies: 16
Views: 2523

Re: Pantalla negra detras de ventana

Crea un nuevo shortcut...

Posiblement estas usando un shortcut de un programa DOS...