Search found 30 matches: oitem1

Return to advanced search

Treeview class question?

... 1. How can I know the nLevel when click? 2. Can I add bAction on Treelists? 3. How do I identify on click in Expand (+) or click treelists? 4. oItem1:Add( "xBase & OOPS", 1, {|| Test1( oDlg ) } ) Does it work with DIALOG? Thanks for any help Regards, Dutch
by dutch
Tue Mar 06, 2012 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Treeview class question?
Replies: 3
Views: 838

Re: Deshabilitar MenuItem

... PROMPT "CDiario" OF oBar TOOLTIP "Elaborar Comprobantes de Diario" ACTION Comprobante(.t.,"CD",oMenu:oItem1) //mucho menos sólo oItem1 Nuevamente gracias. Saludos
by FranciscoA
Fri Oct 01, 2010 1:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Deshabilitar MenuItem
Replies: 4
Views: 852

Re: cambiar fuente a todos los diálogos en tiepo de ejecución

... MENUITEM oItem[69] PROMPT "Ne&grita" ACTION Set_FontWin(2,oItem[68],oItem[69]) ENDMENU STAT FUNC Set_FontWin(n,oItem1,oItem2) LOCAL cIni:=GetWinDir()+"\"+cNSys+".Ini", hFont, lFWnd hFont:=IF(n=1,"Normal","Bold") WritePProstring(cNSys,"hFont",hFont,cIni) ...
by MdaSolution
Fri Apr 23, 2010 7:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: cambiar fuente a todos los diálogos en tiepo de ejecución
Replies: 3
Views: 614

Re: Juan Planelles Lazaga

... == 7 TBitmap():Define( , ".\BITMAPS\wIndMask.bmp",, oWnd ) ) oTree = TTreeView():New( 2, 0, oWnd ) oTree:SetImageList( oImageList ) oItem1 = oTree:Add( "Ayuda de Menú Inicial" ) aFiles[1] := 'INICIAL.WLT' aItems[1] := "Ayuda de Menú Inicial" oItem2 := oItem1:Add( ...
by Juan Planelles
Tue Dec 29, 2009 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6743

Re: Juan Planelles Lazaga

... y lFile dirigen el flujo segun sea llamada a ayudas o a formatear anteced/historias FUNCTION MAIN( cPar ) local oTree, bMasMeno local oBar, oItem, oItem1, oItem2, oBmp1, oBmp2, oImageList, oSplit, oComo, oTxt, wOk, bComo, lG32 := .f. local oItem3, oItem4, aItems := Array( 50 ), bResize, cTLee, ...
by Juan Planelles
Tue Dec 29, 2009 10:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6743

Re: Erro na compilação

... oMru1, oMru2, oMru3 Static cColorPan //----------------------------------------------------------------------------// function Main() local oBar, oItem1, oItem2, oImageList, oSplit local oMenuNew, oSay Local cClrDegrIni,cClrDegrFin Local cClrSelIni,cClrSelFin,cClrSelTxt,cClrSelBor Local cClrMenu,cClrMenuTxt ...
by jufer
Sun Dec 06, 2009 9:04 pm
 
Forum: All products support
Topic: Erro na compilação
Replies: 53
Views: 20855

Re: Tree: Error en oTree:GetSelected():GetParent():cPrompt

... DEL TREE CON UNA * TABLA DONDE ESTAN TODAS LAS REGIONDE DEL PAIS * !CHILE! *---------------------------------* FUNCTION ArmTree( oTree) LOCAL oItem1 Select RChile Go Top Do While !Eof() //--> Busco el nombre de la Region y lo coloco com rama del arbol Select Regiones Seek RChile->Regi_chile ...
by VPOZO
Thu Oct 01, 2009 10:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tree: Error en oTree:GetSelected():GetParent():cPrompt
Replies: 6
Views: 1684

Re: Treeview

No sé si hay otra forma, más que para averiguar si estoy en +

oItem1 := oTree:GetSelected()
if valtype(oItem1)='O' //'object'
return .f.
endif


Gracias

Luiz Fernando
by empresoft
Tue Sep 29, 2009 6:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Treeview
Replies: 3
Views: 618

Re: Blue in bmp turns grey

Dietmar, > Even then we would need a parameter for the font when the item is added in FWH, don't we? oItem1 = oTree:Add( cPrompt, nImage, nValue, xxxoFontxxx ) or similar Can this be done in the (near) future? > Yes, though it is much more complex than that. You can check ...
by Antonio Linares
Tue Aug 11, 2009 9:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Blue in bmp turns grey
Replies: 8
Views: 1129

Re: Blue in bmp turns grey

... WS_OWNERDRAW for the treeview control in the resource Even then we would need a parameter for the font when the item is added in FWH, don't we? oItem1 = oTree:Add( cPrompt, nImage, nValue, xxxoFontxxx ) or similar Can this be done in the (near) future? For the bitmap: If the DIALOG is defined ...
by Dietmar Jahnel
Tue Aug 11, 2009 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Blue in bmp turns grey
Replies: 8
Views: 1129

Re: Hiding an MDI main menu from a NOWAIT dialog

... restore it on the way out ] Rick: Maybe this partial code can help you. Regards //------------------------------ Function BuildMenu() local oMenu, oItem1,oItem2 MENU oMenu 2007 MENUITEM oItem1 PROMPT "&Fichero" MENU MENUITEM "Emitir Recibo de &Caja" ACTION ( RCAJA(.T.) ...
by FranciscoA
Thu May 21, 2009 5:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hiding an MDI main menu from a NOWAIT dialog
Replies: 5
Views: 1624

Re: Desactivar el menu con look 2007

... ejemplo te pueda ayudar. //----------------------------------------------------------------------------// function BuildMenu() local oMenu, oItem1,oItem2,oItem3 MENU oMenu MENUITEM "&Fichero" MENU MENUITEM oItem1 PROMPT "Edicion &Orden y/o Factura" ACTION ( oItem1:Disable(),oItem2:Disable(),oMenu:Refresh(),MULTIEQ(oItem1,oItem2,oMenu) ...
by FranciscoA
Sun Dec 07, 2008 3:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Desactivar el menu con look 2007
Replies: 2
Views: 682

how to disable tree item

... 80, 60 COLOR 0, GetSysColor( COLOR_WINDOW ) ACTIVATE DIALOG oDlg CENTERED ; ON INIT AddItems( oTree ) return nil function AddItems( oTree ) local oItem1, oItem2, oItem3 oItem1 = oTree:Add( "First" ) oItem1:Add( "One" ) oItem1:Add( "Two" ) oItem1:Add( "Three" ) oItem2 = oTree:Add( "Second" ) oItem2:Add( ...
by acwoo
Tue Nov 11, 2008 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to disable tree item
Replies: 13
Views: 1517

Hua,

You just need to keep a reference to the first item:

oItem1 = oTree:Add( "First one" )

and then, later on, just select it:

oTree:Select( oItem1 )
by Antonio Linares
Thu Aug 16, 2007 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: [Treeview]: How to programmatically select...
Replies: 2
Views: 728

... Return Self METHOD MyClick(nRow, nCol, oTree) CLASS tNewrol local oItem Local nAt Local oUser local n, lWhen local oItem1 oItem := oTree:HitTest( nRow, nCol ) if oItem != NIL nAt := Ascan( ::aEmpresas, oItem:cPrompt ) aFill( ::aPerms, .T. ) ::oWnd:SetMenu( ::MakeMenu() ...
by wilsongamboa
Mon Jan 23, 2006 1:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Menu en tiempo de ejecucion
Replies: 8
Views: 2285
Previous

Return to advanced search