Search found 30 matches: oitem1

Return to advanced search

Re: Create a Panel width a text

... aGrad //shadow DEFINE BRUSH oBrushtext GRADIENT aGradtext //text nTotRows:= MLCount(Alltrim(cmessage),250) oPanel1 is a ttaskpanel //the shadow oItem1:=Tpanel():New( oPanel1:nTitleHeight +10, 10,; oPanel1:nBottom-30,oPanel1:nWidth-40, oPanel1 ) oItem1:SetBrush( oBrushshadow ) //panel for the ...
by Silvio.Falconi
Thu Jan 04, 2024 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 2908

Re: menu checked same menuitem

... oTipo:baction:= {|Self|::ShowPopUp( { |oBtn| BtnPopMenu( oBrw,oMisura,lTipo1,lTipo2 ) } )} Function BtnPopMenu(oBrw,oDbf,lTipo1,lTipo2) local oItem1,oItem2 MENU oMenu POPUP MENUITEM oItem1 PROMPT "First" ACTION (oItem1:SetCheck( ltipo1 := ! ltipo1 ),; Maketree(oDbf,oBrw)) CHECKED ...
by Silvio.Falconi
Tue Mar 14, 2023 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: menu checked same menuitem
Replies: 3
Views: 346

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: 346

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: 346

Re: How To XBRowse Tree From MariaDB Recordset Parent Child ?

goosfancito wrote:Can i to move a item group at another item group using xbrowse and tree?


Assume you want to move oItem1 (it may be a group or not) next to another item oItem2.
Then
Code: Select all  Expand view

oItem1:Delete()
oItem2:Add( oItem1 )
 
by nageswaragunupudi
Tue Feb 16, 2021 9:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To XBRowse Tree From MariaDB Recordset Parent Child ?
Replies: 7
Views: 1246

Re: Como añado una rama a un determino HITEM?

Gustavo, Revisa el ejemplo FWH\samples\treedlg.prg. Hace exactamente eso: oItem1 = oTree:Add( "First" ) oItem1:Add( "One" ) oItem1:Add( "Two" ) oItem1:Add( "Three" ) oItem2 = oTree:Add( "Second" ) oItem2:Add( ...
by Antonio Linares
Wed Nov 11, 2020 6:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como añado una rama a un determino HITEM?
Replies: 6
Views: 624

Re: Un problemita con TTreeView

... FONT oFnt Return NIL //----------------------------------------------------------------------------// Function AddItems( oImageList ) local oItem1, oItem2, oItem3, oItem4, oItem5, oItem6 local oItem11, oItem12, oItem13, oItem14, oItem15, oItem16 local oItem21, oItem22, oItem23 local oItem31, ...
by jbrita
Wed Feb 20, 2019 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Un problemita con TTreeView
Replies: 14
Views: 3168

Re: tree in a dialog with multiples dialogs

... DIALOGS with tree" .. .. ACTIVATE DIALOG oDlgMain CENTERED ; ON INIT ( BUILDTREE( oTree ), ; ... ... FUNCTION BUILDTREE( oTree ) oItem1 := oTree:Add( "Page - 1", 1 ) oItem1:Cargo = {|| CleanSlate( oDlgChild )} oItem1:Add( "Sub 1", 1 ):Cargo := {|| SHOW_CHILD1() ...
by ukoenig
Fri Nov 17, 2017 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tree in a dialog with multiples dialogs
Replies: 8
Views: 1973

Re: New FTDN february/febrero 2015 (FWH 15.02)

... at the right. Example of use: DEFINE MSGBAR oMsgBar OF oWnd ... oMsgBar:lLeft = .T. // we want items to start from left to right DEFINE MSGITEM oItem1 OF oMsgBar // it goes to the left DEFINE MSGITEM oItem2 OF oMsgBar oItem2:lRight = .T. // it goes to the right * BtnBmp: - Reported bugs on painting ...
by Antonio Linares
Sun Mar 01, 2015 8:58 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN february/febrero 2015 (FWH 15.02)
Replies: 1
Views: 1471

Re: Nuevo FWH 15.02

... at the right. Example of use: DEFINE MSGBAR oMsgBar OF oWnd ... oMsgBar:lLeft = .T. // we want items to start from left to right DEFINE MSGITEM oItem1 OF oMsgBar // it goes to the left DEFINE MSGITEM oItem2 OF oMsgBar oItem2:lRight = .T. // it goes to the right * BtnBmp: - Reported bugs on painting ...
by Antonio Linares
Sun Mar 01, 2015 8:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo FWH 15.02
Replies: 7
Views: 1593

Re: New FWH 15.02

... at the right. Example of use: DEFINE MSGBAR oMsgBar OF oWnd ... oMsgBar:lLeft = .T. // we want items to start from left to right DEFINE MSGITEM oItem1 OF oMsgBar // it goes to the left DEFINE MSGITEM oItem2 OF oMsgBar oItem2:lRight = .T. // it goes to the right * BtnBmp: - Reported bugs on painting ...
by Antonio Linares
Sun Mar 01, 2015 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 15.02
Replies: 4
Views: 1100

Re: Error de pintado Treeview

... enviando un Codeblok o Nil segun el caso.. Que estoy haciendo mal..?, Necesito hacer lo que hace testtre2.prg de la carpeta samples. La lógica es oItem1:Add( "xBase & OOPS", 1, {|| Test1( oDlg ) } ) como en el ejemplo pero aqui no lo aplica.. No me queda claro que es un Hash..
by cuatecatl82
Wed Aug 20, 2014 12:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de pintado Treeview
Replies: 36
Views: 5614

Re: Tree. Intercambio de posiciones

Hola, no se si te funcionaría algo como guardar oChild1 := oItem1:Add( "Item 1", 1 ) en un temporal, luego poner en el 1 el 3 y el temporal en el 1: local oWnd, oTree, oItem1local oChild1,oChild2,oChild3,oTMPoTMP    := oChild1oChild1 := oChild3oChild3 ...
by informaticaeloy
Mon Feb 03, 2014 4:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree. Intercambio de posiciones
Replies: 5
Views: 653

Re: To Nages: Proposal for implementation

... dialog or on the wnd and not on top of the object xbrowse So, I thinked to create this Function CreateToolBar( oGrid,oDlg,ltoolBar) Local oExit,oItem1 local nClrText := CLR_BLACK Local nHeightBar:=20 If ltoolBar oBar := TMyControl ():New( oGrid:nTop+(nHeightBar-2),oGrid:nLeft, oDlg, , CLR_RED, ...
by Silvio.Falconi
Mon May 13, 2013 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Proposal for implementation
Replies: 28
Views: 6344

Re: como impedir abrir una window 2 veces

... aqui tienes un pequeño ejemplo: //----------------------------------------------------------------------------// Function BuildMenu() local oMenu, oItem1 MENU oMenu 2007 MENUITEM oItem1 PROMPT "&Fichero" MENU MENUITEM "&Mi ventana" ACTION Miventana(oItem1) MENUITEM "&Salir..." ...
by FranciscoA
Wed Sep 19, 2012 1:00 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: como impedir abrir una window 2 veces
Replies: 6
Views: 874
Next

Return to advanced search