Search found 190 matches: oitem

Return to advanced search

eval an action - Resolved!!

... did it I saved the archive in an aImg array https://i.postimg.cc/tTyg2WNB/m.png local bClick:= {|| aImg[5 ] } @ nRow, nCol BTNBMP oItem PROMPT aImg[ 1 ] ; FILE aImg[2 ] ; SIZE 72,96 PIXEL OF oPanel ; NOBORDER FLAT oItem:oCursor:= oCursorBtn oItem:baction:= (bClick) not eval the ...
by Silvio.Falconi
Tue Mar 05, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: eval an action - Resolved!!
Replies: 2
Views: 174

Re: New FTDN October/Octubre 2023 (FWH 23.10)

... EnumWindows() y EnumChildWindows(), ahora soportan llamadas recursivas. * Nuevo: Método Select() en la clase TTVItem, es equivalente a hacer oItem:oTree:Select( oItem ), así que ahora puedes simplemente hacer oItem:Select() * Mejora: DEFINE WINDOW ... SIZE nWidth, nHeight son soportados. ...
by Antonio Linares
Sun Dec 03, 2023 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

New FTDN October/Octubre 2023 (FWH 23.10)

... functions EnumWindows() and EnumChildWindows() support recursive calls. * New: Class TTVItem METHOD Select(), it is equivalenf of doing oItem:oTree:Select( oItem ), so now you can simply do oItem:Select() * Enhancement: DEFINE WINDOW ... SIZE nWidth, nHeight is supported. * New: samples\winexpl.prg ...
by Antonio Linares
Thu Nov 02, 2023 9:53 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN October/Octubre 2023 (FWH 23.10)
Replies: 1
Views: 3906

Como borro una rama de un arbol?

Hola.
Como elimino una rama de un arbol?

Mi arbol se llama ::oTree, lo que hice es posicionarme en la rama que quiero
oItem := ::oTree:hitTest( nRow, nCol, nKeyFlags )
y me imagine que haciendo:
oItem:delete()
se borraria, pero no.

como lo tengo que hacer?
gracias.
by goosfancito
Wed Aug 09, 2023 7:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como borro una rama de un arbol?
Replies: 1
Views: 103

Re: New FTDN July/Julio (FWH 23.07)

... Si se pone a .T. todo los subárboles también son ordenados. 3.- nCol: Por defecto 0, ordena sobre nCol de la matriz Cargo. * Clase TreeItem: oItem[ n ] devuelve oItem:Cargo[ n ] si oItem:Cargo es una matriz y n está dentro del tamaño y si n es '0' devuelve oItem:cPromt y en caso contrario ...
by Antonio Linares
Sat Jul 29, 2023 9:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1065

New FTDN July/Julio (FWH 23.07)

... .f. for backward compatibility If set to .T. all subtrees are also sorted Param.3 nCol: Default 0: Sorts on nCol of Cargo Array * TreeItem: oItem[ n ] returns oItem:Cargo[ n ] if oItem:Cargo is an array and n is withing the size and if n is '0' returns oItem:cPromt and else returns 'nil' ...
by Antonio Linares
Thu Jul 27, 2023 6:13 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 1065

Re: Select one btnbmp into a scrollpanel

... := !lActive, ; o:cargo:= lActive,; o:refresh(),; Set_items_Active(oElements,o:cargo,o),; nElemento:= val(nProduct) } Function Set_items_Active(oItem,lActive,oBTn) local oCtrl for each oCtrl in oItem:aControls oCtrl:bClrGrad = { | lInvert | If( ! lInvert,; { { 1, CLR_WHITE, CLR_WHITE } },; { ...
by Silvio.Falconi
Mon Jun 12, 2023 5:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select one btnbmp into a scrollpanel
Replies: 1
Views: 105

add items on ScrollPanels

... press the 2 or 3 button he can insert 2 or 3 items https://i.postimg.cc/QdQw6GFV/gg.png the test I made add the items the second oitem is too big from first why ? the oitem right must be opanel:nright-50 why is more big ? the test  #include"fivewin.ch"Function  Test()  ...
by Silvio.Falconi
Thu Jun 08, 2023 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add items on ScrollPanels
Replies: 2
Views: 165

Re: menu checked same menuitem

... same item check ( from the same) static ltipo1:=.f. static ltipo2:=.f. then from a btnbmp open a menu popup with 2 option Function BtnPop() local oItem1,oItem2 MENU oMenu POPUP MENUITEM oItem1 "First" ACTION oItem:SetCheck( ltipo1 := ! ltipo1 ) CHECKED SEPARATOR MENUITEM oItem2 "Second" ...
by cnavarro
Tue Mar 14, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: menu checked same menuitem
Replies: 3
Views: 350

menu checked same menuitem

... same item check ( from the same) static ltipo1:=.f. static ltipo2:=.f. then from a btnbmp open a menu popup with 2 option Function BtnPop() local oItem1,oItem2 MENU oMenu POPUP MENUITEM oItem1 "First" ACTION oItem:SetCheck( ltipo1 := ! ltipo1 ) CHECKED SEPARATOR MENUITEM oItem2 "Second" ...
by Silvio.Falconi
Tue Mar 14, 2023 8:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: menu checked same menuitem
Replies: 3
Views: 350

Re: download iPhone Photo connect to PC

hi Antonio oItem:oParent oItem:aItems thx for Answer i got to Step 3 and must use a Workaround which i don´t want. https://i.postimg.cc/15qKYbtL/FW-DEVICE.png Problem : when click on Node it open Sub-Folder but ...
by Jimmy
Mon Nov 28, 2022 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: download iPhone Photo connect to PC
Replies: 14
Views: 990

Re: download iPhone Photo connect to PC

Dear Jimmy,

oItem:oParent

oItem:aItems
by Antonio Linares
Mon Nov 28, 2022 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: download iPhone Photo connect to PC
Replies: 14
Views: 990

tree y scan

Por lo que vi en el foro, esto me devolveria en oItem el item correspondiente del que busco    o:= ::oTree:scan({|o| o:cargo["nId"] == oItem:cargo["nId"]})   oItem:= ::oTree:select(o)  ...
by goosfancito
Tue Jul 05, 2022 10:03 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: tree y scan
Replies: 2
Views: 282

Re: Different style of window

... skin for the mdichilds Antonio, skin good for dialog I not Know how put ski on Mdichild sample I have TLotto class is a MdiChild on METHOD Activar(oItem,oBtnB) CLASS TLotto I insert ::oWinlotto:bStart := {|| oSkin := Skin( ::oWinlotto, "Blue_skin" )} but this make error CLASS TLotto  ...
by Silvio.Falconi
Fri May 20, 2022 11:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different style of window
Replies: 10
Views: 803

Re: Antonio - Retomo lo del tree podes ayudarme cn esto?

... que necesito para "rearmar" el arbol (que lo creo a partir de la consulta anterior. Lo que necesito es saber antes de crear una rama con oItem:add(...) que ya no esté creada esa rama, por lo que necesito verificar con el ascan y buscar dentro del array. el array cotiene esto:    AAdd( ...
by goosfancito
Fri May 06, 2022 9:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio - Retomo lo del tree podes ayudarme cn esto?
Replies: 3
Views: 306
Next

Return to advanced search