Search found 423 matches: nbottom

Searched query: nbottom

by Silvio.Falconi
Wed Feb 12, 2025 11:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: activate an online button
Replies: 2
Views: 176

activate an online button

... Cristobal Navarro

#include 'fivewin.ch'
#include 'xbrowse.ch'
#include "constant.ch"

Function test()

local oDlg,oDbf,oFont
local oBar

local nBottom := 27.2
local nRight := 89
local nWd := Max( nRight * DLG_CHARPIX_W, 180 )
local nHt := nBottom * DLG_CHARPIX_H

DEFINE DIALOG oDlg SIZE nWd ...
by Silvio.Falconi
Fri Feb 07, 2025 1:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: AEvalWhen problems RESOLVED
Replies: 1
Views: 314

AEvalWhen problems RESOLVED

... space(30)
local cCodEmailPec:=space(30)
local cMailName:=""

local nRow:=10,nCol:=10
local nInterlinea:= 30
local nSizeHGet:= 24

local nBottom:= 20
local nRight := 100
local nHt := nBottom * DLG_CHARPIX_H
local nWd := Max( nRight * DLG_CHARPIX_W, 180 )
local oCursorBtn :=TCursor():New ...
by Antonio Linares
Fri Jan 24, 2025 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... PaintHDivider)

Return Value: None

Usage Example: (Internal use only - method version for codeblock usage)

262. PaintVDivider( hDC, nCol, nTop, nBottom, nStyle, hColPen, hWhitePen )

Description: Accessor for PaintVDivider (same as DATA member, method version for codeblock usage).

Parameters ...
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: 4826

Re: Using new Class TDeepSeek for documenting

... index of the cell.

nCol: NUMERIC - Column index of the cell.

Return Value: ARRAY - Returns an array containing the coordinates: { nTop, nLeft, nBottom, nRight } in pixels.

Usage Example:

cellCoords := oBrw:aCellCoor( 5, 2 ) // Gets coordinates of the cell at row 5, column 2.
content_copy ...
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: 4826

Re: Using new Class TDeepSeek for documenting

... Parameters:

nRow: NUMERIC - Row index.

nCol: NUMERIC - Column index.

Return Value: ARRAY - Array containing cell coordinates {nTop, nLeft, nBottom, nRight}.

Usage Example: (Internal use only)

79. CellBitmap( nRow, nCol )

Description: Creates a bitmap of a cell (internal method ...
by cnavarro
Wed Jan 22, 2025 5:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: multi-column popup menu
Replies: 13
Views: 31355

Re: multi-column popup menu

... Function CtrlMove( oDlg )

local oFontWD2
local nRow := oDlg:nBottom - 150
local nCol := oDlg:nRight - 350
local nSize := 32
local oSay

@ nRow - 64, 20 GROUP TO nRow + 54, oDlg:nRight - 460 OF oDlg PIXEL PROMPT ...
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: 4826

Re: Using new Class TDeepSeek for documenting

... nLeft, nWidth, nHeight, 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 ...
by Antonio Linares
Fri Jan 17, 2025 11:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... incremented and resets after reaching 10000.

4. **`Hide()`**
Hides the event by setting `lVisible` to `.F.`.

5. **`Move( nTop, nLeft, nRight, nBottom )`**
Updates the coordinates of the event's bounding box and ensures the event is only visible if it falls within the calendar's visible area ...
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: 4826

Re: Using new Class TDeepSeek for documenting

... Sets the size of the tooltip.
- **Parameters:**
- `nWidth`, `nHeight`: New dimensions.

#### Static Function

1. **`Line( hDC, nTop, nLeft, nBottom, nRight, nColor, nWidth )`**
- **Description:** Draws a line on the specified device context.
- **Parameters:**
- `hDC`: Device context handle ...
by Silvio.Falconi
Thu Jan 09, 2025 9:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Btnbmp with a line
Replies: 5
Views: 5819

Re: Btnbmp with a line

Antonio Linares wrote: Thu Jan 09, 2025 1:42 pm You may use a TPanel object and paint what you need...
Resolved
although maybe I should calculate the length of the caption
oImage:bpainted:= { |hDC| MyLine(hDC,{oImage:nBottom - 50, 1,oImage:nWidth,147 },RGB(195,195,185),RGB(195,195,185)) }


Image
by Silvio.Falconi
Fri Nov 15, 2024 9:27 am
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog to Jpg RESOLVED
Replies: 3
Views: 900

Re: Save dialog to Jpg

... cFileJpg2:= "TopTen_Lotto_Frequenti.jpg"
local oRect:= oDlg:GetCliRect()
If nType=1
oDlg:SaveAsImage( cFileJpg1, { oRect:nTop, oRect:nLeft, oRect:nbottom, oRect:nright-100 } )
else
oDlg:SaveAsImage( cFileJpg2, { oRect:nTop, oRect:nLeft, oRect:nbottom, oRect:nright-100 } )
endif
return nil[/img]
by Silvio.Falconi
Fri Nov 15, 2024 9:21 am
Forum: FiveWin for Harbour/xHarbour
Topic: Save dialog to Jpg RESOLVED
Replies: 3
Views: 900

Re: Save dialog to Jpg

... cFileJpg1:= "TopTen_Lotto_Ritardatari.jpg"
local cFileJpg2:= "TopTen_Lotto_Frequenti.jpg"
If nType=1
oDlg:SaveAsImage( cFileJpg1, { 0, 0, oDlg:nbottom, oDlg:nright-100 } )
else
oDlg:SaveAsImage( cFileJpg2, { 0, 0, oDlg:nbottom, oDlg:nright-100 } )
endif
return nil


Problems

when the nType ...
by russimicro
Mon Nov 11, 2024 3:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: how to close downloaded files window in webview2
Replies: 13
Views: 2121

Re: how to close downloaded files window in webview2

... código afecta a Tgroup
bloquear asi
/*
if !lPixel
if nTop >= 1.0; nTop *= GRP_CHARPIX_H; endif
if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif
if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif
if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif
endif
::CalcSize( @nTop, @nLeft, @nWidth, @nHeight ...
by russimicro
Sat Nov 09, 2024 1:07 am
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR. FWH 24_09 METROBUTTON-METROPANEL (solucion temporal)
Replies: 1
Views: 355

Re: ERROR. FWH 24_09 METROBUTTON-METROPANEL (solucion temporal)

... afecta a Tgroup
bloquear asi
/*
if !lPixel
if nTop >= 1.0; nTop *= GRP_CHARPIX_H; endif
if nLeft >= 1.0; nLeft *= GRP_CHARPIX_W; endif
if nBottom >= 1.0; nBottom *= GRP_CHARPIX_H; endif
if nRight >= 1.0; nRight *= GRP_CHARPIX_W; endif
endif
::CalcSize( @nTop, @nLeft, @nWidth, @nHeight ...
by Silvio.Falconi
Tue Oct 29, 2024 7:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell on xbrowse
Replies: 5
Views: 849

Re: Edit cell on xbrowse

... t.,(MsgInfo("Solo 0 a 90"),.f.)) }



Not Work

https://i.postimg.cc/gcNG9HWx/nofunciona.png

I made

@ 80, 10 XBROWSE oBrw SIZE 455,oDlg:nBottom-200 PIXEL OF oDlg ;
DATASOURCE aData AUTOCOLS CELL LINES NOBORDER FASTEDIT

SetupBrowseMatrix(oBrw)
oBrw:RecSelShowKeyNo()
oBrw:CreateFromCode ...