Search found 179 matches

by alvaro533
Sun Nov 13, 2022 7:11 am
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con VSCode y hbmk2 ***solucionado***
Replies: 1
Views: 1957

Re: Problema con VSCode y hbmk2 ***solucionado***

Buenos días

Solucionado, me faltaba un .ch en la instalación

Un saludo

Álvaro
by alvaro533
Sat Nov 12, 2022 6:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con VSCode y hbmk2 ***solucionado***
Replies: 1
Views: 1957

Problema con VSCode y hbmk2 ***solucionado***

Buenas tardes, Estoy intentado cambiar el editor Xmate por VScode y hbmk2. Tengo FWH32 1802 Harbour 3.2.0 Embarcadero C++ 7.00 for Win32 Visual Code estudio 1.73.1 Me han funcionado varios ejemplos de aplicaciones sencillas. Pero cuando intento añadir un PRG que tiene una clase definida me dan error...
by alvaro533
Tue Mar 31, 2020 10:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: How to copy a row of a rowset
Replies: 14
Views: 4169

Re: How to copy a row of a rowset

aRows := oRs:GetRows( 1, oRs:KeyNo )   This gives a two-dimensional array with a single row { { col1value, col2value, ... colNvalue } }   If you want to insert the data into another existing RowSet with identical structure, you can do it using oRs2:AddNew( aFields, aRows[ 1 ] ) } But you can not cr...
by alvaro533
Thu Mar 26, 2020 9:08 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWCONNECT
Replies: 0
Views: 1573

FWCONNECT

Good morning, I am using FWMARIAROWSET over internet and it works great. I have a doubt: It is better to “FWCONNECT oCn HOST …” in every function when you need and close it at the end of the function or is it better to connect only when the app starts and close it when you exit the app? Thank you an...
by alvaro533
Fri Dec 21, 2018 2:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1207

Re: Error in Tdatabase version 1804 ?

Thanks a lot
Alvaro
by alvaro533
Thu Dec 20, 2018 10:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1207

Re: Error in Tdatabase version 1804 ?

I solved it.

If I say oDatabase:load(.t.) before editing everything is fine. Thank you
Alvaro
by alvaro533
Thu Dec 20, 2018 10:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1207

Re: Error in Tdatabase version 1804 ?

Hi again.

I realized that the record is not actually saved, but if you press twice or three times the button “Cancel”, the value of oDatabase:name is changed, even if you say oDatabase:load() before the dialog. If you don’t understand my point I will give you an example. Regards

Alvaro
by alvaro533
Thu Dec 20, 2018 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1207

Re: Error in Tdatabase version 1804 ?

Hi, Thank you for your answer. Please try this code. Please use \fwh\samples\states.dbf. You can see that if you press "Cancel" the record is also saved. Thank you and regards. // ------------------------------------------------------------------------------- // function error_tdatabase() ...
by alvaro533
Thu Dec 20, 2018 6:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Error in Tdatabase version 1804 ?
Replies: 6
Views: 1207

Error in Tdatabase version 1804 ?

Hi, I am using FWH 1804. I have a problem with Tdatabase. The same program worked with my previous version 1204 I am using dbf files with cdx index I use: oDatabase:load() then I have a dialog if the "save" button is pressed lSave is true, if Cancel button is pressed lSave is false if lSav...
by alvaro533
Sat Mar 10, 2018 3:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5392

Re: Can TGraph do X,Y plots?

Antonio Linares wrote:Many thanks :-)

Antonio, I just sent you an email with the class
Regards
by alvaro533
Wed Mar 07, 2018 7:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5392

Re: Can TGraph do X,Y plots?

Alvaro, Would you mind to post it here or send it to me by email, so we can include it in next FWH 18.02 ? many thanks Hi Antonio, sorry I skipped your message yesterday. If the class is going to be included in the next release of FWH I will polish it a little and I will add some comments. Give me ...
by alvaro533
Wed Mar 07, 2018 8:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5392

Re: Can TGraph do X,Y plots?

I should clarify, in the beginning of this thread I was talking about making an x,y chart with just data points. This is also commonly called a scatter chart. For this type of chart the data points can be in any order. You can see a sample scatter chart here: https://www.highcharts.com/docs/chart-a...
by alvaro533
Tue Mar 06, 2018 6:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5392

Re: Can TGraph do X,Y plots?

Alvaro, It is not clear to me if you are automatically finding the min and max for each axis in the class, or if you must do the calculation outside the class and pass those values. One of the first programs I wrote (way back in the BASIC era, circa 1980), I wrote code to find those values. I disco...
by alvaro533
Tue Mar 06, 2018 5:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5392

Re: Can TGraph do X,Y plots?

James Bott wrote:Alvaro,

Wow, very impressive. May I get a copy of your new tgraph.prg?

You can find my email address on my website http://gointellitech.com.
Sent, regards
Alvaro
by alvaro533
Tue Mar 06, 2018 11:46 am
Forum: FiveWin for Harbour/xHarbour
Topic: Temporay folder
Replies: 1
Views: 480

Re: Temporay folder

GetEnv("TMP")
lo he encontrado