Search found 102 matches: nitem

Searched query: nitem

by Antonio Linares
Sat Feb 08, 2025 9:41 am
Forum: FiveWin para Harbour/xHarbour
Topic: Ajustar tamaño caja toast
Replies: 7
Views: 1732

Re: Ajustar tamaño caja toast

... pString )

return pString

//---------------------------------------------------------------------------//

static function SetNodeText( pNodeList, nItem, cText, pXml )

local pXmlNode, pXmlText, pXmlNodeChild
local pString

WinRTMethod( pNodeList, Item, nItem, @pXmlNode )
pString = WinRTString ...
by Antonio Linares
Fri Jan 17, 2025 11:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 5077

Re: Using new Class TDeepSeek for documenting

... aBitmaps`**:
- **Type**: Array
- **Description**: Stores bitmaps associated with the combo box items (used for owner-drawn combo boxes).

3. **`nItemHt`**:
- **Type**: Numeric
- **Description**: Height of the items in the combo box.

4. **`lOwnerDraw`**:
- **Type**: Logical
- **Description ...
by RiazKhan
Thu Aug 22, 2024 4:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 2
Views: 1776

Re: ListBox Input Field Scrolling........

... The function called to edit column is HEditCol()


Example of Input/editing of Column 3
xDesc is the Input Variable / Size of xDesc is Space(55)
nItem is the Row number


HEditCol(3,@xDesc,"@!",,0,16776960,,,{W_21EC(nItem,2),oBrowse,355,.F.,0,aAcc_Desc ...
by Silvio.Falconi
Mon Mar 04, 2024 8:33 am
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 2987

Re: To Nageswrao Del Objs on TscrollPanel

function DeleteControl( oPanel, nItem )

local nTop, nLeft

for n := Len( oPanel:aControls ) to nItem + 1 STEP -1
oPanel:aControls[ n ]:nTop := oPanel:aControls[ n - 1 ]:nTop
oPanel:aControls[ n ]:nLeft:= oPanel:aControls[ n - 1 ]:nLeft
next
oPanel:aControls[ nItem ]:End()
HB_ADel( oPanel ...
by Silvio.Falconi
Thu Feb 29, 2024 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 2987

Re: To Nageswrao Del Objs on TscrollPanel

Nages

oPanel:aControls[ nItem ]:End()
HB_ADel( oPanel:aControls[ nItem ], nItem, .t. )
ASize( oPanel:aControls, Len( oPanel:aControls ) )
oPanel:SetRange()
oPanel:refresh()


I saw on oPanel:aControls there are also the records

https://i.postimg.cc/QNKWmS1C/mm.png

also if I make ASize ...
by Silvio.Falconi
Mon Feb 26, 2024 12:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: To Nageswrao Del Objs on TscrollPanel
Replies: 17
Views: 2987

To Nageswrao Del Objs on TscrollPanel

... 1 TO LEN(oBrw:aCols)
oCol := oBrw:aCols[ i ]
oCol:bLDClickData := { || Erase_Items(oBrw,oPanel) }
NEXT

Function Erase_Items(oBrw,oPanel)
local nItem:= oBrw:aArrayData[ oBrw:nArrayAt ][2]
aDel(oBrw:aArraydata,nItem-1)
// xbrowser oBrw:aArraydata
oPanel:aControls[nItem]:destroy()
oBrw:refresh ...
by RiazKhan
Fri Apr 15, 2022 9:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: ListBox Input Field Scrolling........
Replies: 2
Views: 1776

Re: ListBox Input Field Scrolling........

The class used in the RES dialog file is TWBrowse...

Source...
REDEFINE LISTBOX oBrw ;
FIELDS aAcc_No[ nItem ] ,;
P6_Mast->(DbSeek(Trim(PadCode1(aAcc_No[ nItem ]))),P6_Mast->Acc_Name) ,;
aAcc_Desc[ nItem ] ,;
If(!Empty(aTrn_AmtD[ nItem ]),TransForm(aTrn_AmtD[ nItem ],'99,999,999,999.99 ...
by goosfancito
Sun Dec 12, 2021 3:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: no estaria mostrando el brush...
Replies: 8
Views: 807

Re: no estaria mostrando el brush...

DEFINE BRUSH oBr color rgb( 204, 255, 153 )
...
UTILPRN ::oUtil Self:nLinea, 1.3 SAY " " + DToC( aDatos[ nItem ][ 1 ] ) FONT ::oFnt2 BRUSH oBr WIDTH 18.2 shadow .T.
by Antonio Linares
Wed Jul 28, 2021 2:07 pm
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 5289

Re: New FTDN June/Junio (FWH 21.06)

... por favor ejecute go.bat o goh32.bat desde samples\EasyReport

* function MsgList( aData, cTitle, nTop, nLeft, nBottom, nRight, cBtnTitle, nItem, lCancel, cCapCan, oFont )
--> SelectedItemNumber

- Corrección: salir del cuadro de diálogo presionando la tecla Esc no devolvía 0. Corregido ...
by Antonio Linares
Tue Jul 27, 2021 4:47 pm
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 5289

New FTDN June/Junio (FWH 21.06)

... examples, please run go.bat or goh32.bat from samples\EasyReport

* function MsgList( aData, cTitle, nTop, nLeft, nBottom, nRight, cBtnTitle,
nItem, lCancel, cCapCan, oFont )
--> SelectedItemNumber
- Fix: Exiting the dialog by pressing Esc key was not returning 0. Fixed
- Last parameter ...
by Antonio Linares
Tue Jul 27, 2021 4:46 pm
Forum: WhatsNew / Novedades
Topic: New FTDN June/Jnio (FWH 21.06)
Replies: 0
Views: 1506

New FTDN June/Jnio (FWH 21.06)

... examples, please run go.bat or goh32.bat from samples\EasyReport

* function MsgList( aData, cTitle, nTop, nLeft, nBottom, nRight, cBtnTitle,
nItem, lCancel, cCapCan, oFont )
--> SelectedItemNumber
- Fix: Exiting the dialog by pressing Esc key was not returning 0. Fixed
- Last parameter ...
by FiveWiDi
Tue Jul 13, 2021 6:48 pm
Forum: FiveWin para Harbour/xHarbour
Topic: MsgList() y tecla ESC
Replies: 5
Views: 1414

Re: MsgList() y tecla ESC

Carlos,

Prueba a proporcionar .T. en el parámetro lCancel:

function MsgList( aData, cTitle, nTop, nLeft, nBottom, nRight, cBtnTitle, nItem, lCancel, cCapCan )

En ese caso, MsgList() devuelve cero al salir cancelando

Gracias Antonio.

Si se pulsa 'Cancelar' sí que devuelve '0', pero si se cierra ...
by Antonio Linares
Tue Jul 13, 2021 3:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: MsgList() y tecla ESC
Replies: 5
Views: 1414

Re: MsgList() y tecla ESC

Carlos,

Prueba a proporcionar .T. en el parámetro lCancel:

function MsgList( aData, cTitle, nTop, nLeft, nBottom, nRight, cBtnTitle, nItem, lCancel, cCapCan )

En ese caso, MsgList() devuelve cero al salir cancelando
by ukoenig
Wed Jun 09, 2021 5:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: RADIO Button problem
Replies: 2
Views: 618

Re: RADIO Button problem

... MESSAGE "Etnia del sujeto"

the startposition oD02:ETNIAS cannot be 0

in case You have a startposition of 0 and values like

0, 1, 2, 3, 4

nItem := oD02:ETNIAS + 1
REDEFINE RADIO aGets01[011] VAR nItem ID 115,116,117,118,119 OF oFld:aDialogs[01] UPDATE;
MESSAGE "Etnia del sujeto ;
ON CHANGE ...
by pacotre
Wed Apr 15, 2020 10:20 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Implementando una Clase TExplorerBar propia de FWH
Replies: 57
Views: 11597

Re: Implementando una Clase TExplorerBar propia de FWH

... oPanel1:AddLink("Config Impresion",bclick, )

activate.... oExBar:CloseAll(0)

method:
METHOD CloseAll( nOpen ) CLASS TExplorerBar

local nPanel, nItem

*DEFAULT nOpen := 1

for nPanel := nOpen + 1 to Len( ::aPanels )
with object ::aPanels[ nPanel ]
:lCollapsed = .T.
:nTopMargin = 1
:nLeftMargin ...