Search found 71 matches: calculating

Return to advanced search

Re: change the ndatalines (xbrowse) on lines

nDataLines is used by xbrowse only while creating the browse for the first time for calculating the row height. After creation of the browse. i.e., during runtime, it is never used and changing the values does not do anything. During runtime, you can change the data ...
by Silvio.Falconi
Sat May 13, 2023 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change the ndatalines (xbrowse) on line - RESOLVED -
Replies: 4
Views: 249

Re: change the ndatalines (xbrowse) on lines

nDataLines is used by xbrowse only while creating the browse for the first time for calculating the row height. After creation of the browse. i.e., during runtime, it is never used and changing the values does not do anything.
During runtime, you can change the data oBrw:nRowHeight.
by nageswaragunupudi
Sat May 13, 2023 1:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change the ndatalines (xbrowse) on line - RESOLVED -
Replies: 4
Views: 249

Re: Concept of REDEFINE for Dummy

You create a RC file using a visual RC designer and then use it from your FWH app

You can use the one provided in Visual Studio Community, ResEdit, PellesC, etc there are many availables

You visually "draw" your screens instead of calculating coors by try and error...
by Antonio Linares
Sun Feb 26, 2023 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Concept of REDEFINE for Dummy
Replies: 13
Views: 816

Re: cyclometric circle

... importance. From these considerations we can enunciate the following definition: The cyclometric distance between two numbers is obtained by calculating the arithmetic difference (major minus minor); if the result exceeds "the limit" 45, the latter is subtracted from the fixed 90. ...
by Silvio.Falconi
Tue Dec 06, 2022 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cyclometric circle
Replies: 46
Views: 3018

Re: intercept repeated values in an array

... for the cyclometric sum it is always necessary to subtract 90 if the sum exceeds 90 The cyclometric distance between two numbers is obtained by calculating the arithmetic difference (major minus minor); if the result exceeds "the limit" 45, the latter is subtracted from the 90 set. ...
by Silvio.Falconi
Wed Oct 26, 2022 8:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: intercept repeated values in an array
Replies: 5
Views: 291

Re: Why am I having xbrowse too slow?

Xbrowse needs correct tuning to work the best. Correct use of : set filter to, set relation to, Ordscope's .... Correct setup of indexes... Calculating fields slows down Colors are only repainted in the screen that you see, so that should not matter to much. I also have speed issues a moments, ...
by Marc Venken
Wed Apr 06, 2022 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why am I having xbrowse too slow?
Replies: 11
Views: 635

Re: Problem with date - I not understood

Silvio: I think that in the first case you are calculating "days" ie From 2021-06-19 to 2021-06-20 are two days but if you count "nights" it shoud be one night. My five cents. Regars here is a chalet and the owner sale umbrellas ...
by Silvio.Falconi
Sun Jun 20, 2021 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with date - I not understood
Replies: 4
Views: 656

Re: Problem with date - I not understood

Silvio:

I think that in the first case you are calculating "days" ie

From 2021-06-19 to 2021-06-20 are two days but
if you count "nights" it shoud be one night.

My five cents.

Regars
by Armando
Sun Jun 20, 2021 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with date - I not understood
Replies: 4
Views: 656

Re: Print Problem with FWH2104

... RoundBox(), and Ellipse() is to enable specifying the text to be printed inside the box. The text can be multi-line and multi-fonts. This avoids calculating the precise position and using Say() to print the text at the correct position. Example Code:    oPrn:RoundBox( 1.0, 1.0, ...
by nageswaragunupudi
Wed Jun 09, 2021 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Print Problem with FWH2104
Replies: 27
Views: 2593

Re: TDatabase Class

... _Isearch( oLname1, cLname1, oCid1, cCid1, oSceis1, cSceis1, oLbx, oDbf ) Also, are you passing both the field object and the data, then calculating the data also? If so, why? And why do you put the number "1" at the end of every fieldname? James
by James Bott
Wed May 19, 2021 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase Class
Replies: 18
Views: 2076

Re: bad calculation prices for days

... solutions. for me only in this way the user could customize each price because doing as I was advised some time ago by the experts you risk not calculating the right rate well
by Silvio.Falconi
Wed Jul 08, 2020 4:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: bad calculation prices for days
Replies: 13
Views: 1905

Re: strange error for calculating days

What happens if you change the function to: Function GetDayofPeriod(dDateFrom,dDateTo,aListini)     Local n //reset days For n=1 to len(aListini)  aListIni[n][5]:=0 nextFor n=1 to len(aListini)    IF d >= aListini[n][1] .and. d <= aListi...
by Silvio.Falconi
Sat Apr 25, 2020 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error for calculating days !!Resolved!!
Replies: 3
Views: 641

Re: strange error for calculating days

Perhaps the error not is there ... This morning I saw the dateTo is wrong on a my function to update the dates after a modify I have these lines local dStart:= uCharToVal(dDataIniziale, "D" ) local dEnd:= uCharToVal(dDataFinale, "D" ) If I select the from 10 July to 14 July and t...
by Silvio.Falconi
Sat Apr 25, 2020 9:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error for calculating days !!Resolved!!
Replies: 3
Views: 641

Re: strange error for calculating days

What happens if you change the function to: Function GetDayofPeriod(dDateFrom,dDateTo,aListini)     Local n //reset days For n=1 to len(aListini)  aListIni[n][5]:=0 nextFor n=1 to len(aListini)    IF d >= aListin...
by ADutheil
Fri Apr 24, 2020 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error for calculating days !!Resolved!!
Replies: 3
Views: 641

strange error for calculating days !!Resolved!!

I have 4 date ranges (periods) I have two dates and I want to calculate the number of days for each period. local dcheck_in: = ctod ("17/05/2020") local dCheck_out: = ctod ("17/06/2020") if I do the operation dCheck_out-dcheck_in i get 31 days in the calculation function for the ...
by Silvio.Falconi
Thu Apr 23, 2020 10:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error for calculating days !!Resolved!!
Replies: 3
Views: 641
Next

Return to advanced search

cron