Search found 91 matches: calculates

Searched query: calculates

by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Re: Using new Class TDeepSeek for documenting

... FontSize( -2 ) // Decreases the font size by 2 points.
content_copy
download
Use code with caution.
Harbour

110. ReCalcWH()

Description: Recalculates the widths and heights of various elements within the TXBrowse control, such as headers, footers, and rows, based on the current font and other ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Re: Using new Class TDeepSeek for documenting

... OrdkeyGoto( 10 ) // Moves to order key number 10.
content_copy
download
Use code with caution.
Harbour

14. SQLRDD_CalcKeyNo()

Description: Recalculates and returns the current key number for SQLRDD data source.

Parameters: None

Return Value: NUMERIC - Returns the calculated key number.

Usage ...
by Antonio Linares
Sat Jan 18, 2025 10:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Re: Using new Class TDeepSeek for documenting

... lRepaint)`**: Moves the control to a new position and size.
- **`CalcSize(nTop, nLeft, nWidth, nHeight, lRelative, oWnd, nBottom, nRight)`**: Calculates the size and position of the control relative to its parent window.

#### **Event Handling**
- **`Change()`**: Virtual method called when the ...
by Antonio Linares
Fri Jan 17, 2025 11:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Re: Using new Class TDeepSeek for documenting

... if the footer is non-empty.
- **Returns:** Logical value indicating whether the footer is non-empty.

15. **`GetSize()`**
- **Description:** Calculates and returns the size of the tooltip.
- **Returns:** An array containing the width and height of the tooltip.

16. **`SetSize( nWidth, nHeight ...
by Antonio Linares
Fri Jan 17, 2025 10:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Re: Using new Class TDeepSeek for documenting

... oChildRect`: The rectangle defining the area to crop.
- **Returns**: A new `TBrush` object.

9. **`DataRect(oWnd)`**
- **Description**: Calculates the rectangle area for the brush based on the window's client area.
- **Parameters**:
- `oWnd`: The window object.
- **Returns**: A `TRect ...
by Antonio Linares
Fri Jan 17, 2025 10:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4834

Using new Class TDeepSeek for documenting

... visible rows in the list.
- **Returns**: Numeric (count of visible rows).

### Additional Functions

1. **`FontHeight()`**
- **Description**: Calculates the height of the font used in the list.
- **Parameters**: `oObj`, `oFont`.
- **Returns**: Numeric (font height).

2. **`IsRecordSet ...
by Otto
Mon Nov 18, 2024 10:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Most powerfull Xbrowser and PDF
Replies: 16
Views: 5116

Re: Most powerfull Xbrowser and PDF

... title (cTitle).
Uses a loop to traverse through all child windows on the desktop.
3. BmpTrim(hBmp)
Trims black areas from the sides of a bitmap.
Calculates non-black pixel regions and crops the bitmap to reduce empty spaces.
4. WordToJpeg(cFile)
Converts a Microsoft Word document to a JPEG image ...
by Otto
Fri Nov 15, 2024 9:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 10481

Re: cloud or not cloud

... padValue: Properly pads values based on their type.
* - php4dbf_addRecordToDbf: Adds records to a DBF file.
* - php4dbf_calculateRecordLength: Calculates the record length based on field descriptors.
* - php4dbf_updateRecord: Updates a record in a DBF file.
* - php4dbf_deleteRecord: Deletes a ...
by Silvio.Falconi
Thu Oct 17, 2024 7:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 1373

Re: a math formula

... at this table the bet changes at the ninth, why?

https://i.postimg.cc/m2kYd675/another-APP.jpg

There is probably a mathematical formula that calculates if there is a margin of 50% of the profit, I don't understand what operation it does, I also saw it on a website, it changes at the seventh ...
by Jimmy
Wed Oct 16, 2024 3:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 1373

Re: a math formula

hi Silvio,
i have ask ChatGPT and got this Answer :
To create a formula that accurately calculates nInitialBet based on nFixedProfit or nFixedUse, we need to account for the specific ranges and values you provided. Your current formula doesn’t seem to handle the step changes correctly. Let’s refine ...
by Otto
Wed Nov 29, 2023 6:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: check on get
Replies: 26
Views: 6437

Re: check on get

Dear João,
Did you know that in our FW-samples we have a program called moon.prg?

It calculates the phases of the full moon.
I've been conducting an empirical study for many years on people's behavior during the full moon. In the company, we send out warning emails,
as people in support become ...
by nageswaragunupudi
Wed Jul 19, 2023 6:44 am
Forum: FiveWin para Harbour/xHarbour
Topic: Distancia de Levenshtein
Replies: 5
Views: 791

Re: Distancia de Levenshtein

Leandro,
la funcion StrDiff(), en xHarbour, te calcula la funcion Levenshtein.
Yes.
This is the documentation of the function

StrDiff()
Calculates the similarity of two strings.
Syntax
StrDiff( <cString1> , ;
<cString2> , ;
[<nReplace>], ;
[<nDelete>] , ;
[<nInsert>] ) --> nSimilarity ...
by AntoninoP
Mon Dec 07, 2020 10:07 am
Forum: FiveWin for Harbour/xHarbour
Topic: About TCalendar
Replies: 16
Views: 5491

About TCalendar

... to display a full month in a month calendar control. Size information is presented in the form of a RECT structure.

MonthCal_SizeRectToMin
Calculates how many calendars will fit in the given rectangle, and then returns the minimum size that a rectangle needs to be to fit that number of ...
by Otto
Mon Oct 19, 2020 2:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3568

Re: calculates the distance between two towns

Hello Antonino, hello Silvio,

Thank you.

I have found the problem. On my system 667px-Map_marker.svg.png is missing.
Now all is working fine.

Best regards,
Otto
by Silvio.Falconi
Mon Oct 19, 2020 9:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3568

Re: calculates the distance between two towns

yes sorry


https&#58;//i&#46;postimg&#46;cc/0yStsgyb/ggg&#46;png



// sample for Sillian
local oMarker := FW_ReadImage(oWnd,"marker.png")

DEFINE WINDOW oWnd TITLE "Map Test"
SetWndDefault(oWnd)

oMap := TMapControl():New() // open the class

oMap:SetCenter(12.417510,46.747540,10) / set the ...