Search found 38 matches: otreeitem

Return to advanced search

Re: XBROWSE TREE Refresh problem

This is actually intended for cases where the first n fields would not be modified.
Anyway please try to change oBrw:oTreeItem:cPrompt also when you modify 3rd field.
by nageswaragunupudi
Wed Mar 17, 2021 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE TREE Refresh problem
Replies: 3
Views: 448

Re: Move a record into oTree

Yes, by using oBrw:oTreeItem:Add() and oBrw:oTreeItem:Delete()
Please look into treeitem.prg
by nageswaragunupudi
Wed Dec 09, 2020 3:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Move a record into oTree
Replies: 4
Views: 823

Re: Color of the oTree

You can use codeblocks for colors and fonts based on oBrw:oTreeItem:nLevel or any other datas of oBrw:oTreeItem
by nageswaragunupudi
Sun May 17, 2020 5:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of the oTree
Replies: 4
Views: 1596

Re: An easy way to make a tree-browse

XBrowse has DATA oTreeItem
by nageswaragunupudi
Fri Nov 15, 2019 11:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: An easy way to make a tree-browse
Replies: 17
Views: 3522

Re: An easy way to make a tree-browse

Good Morning (for me)
Many Thanks Mr. Rao!

I looked at in TxBrowse, TXBrwColumn and TLinkList class and not find :oBrw:oTreeItem. Where is it?
by MarioG
Fri Nov 15, 2019 11:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: An easy way to make a tree-browse
Replies: 17
Views: 3522

Re: An easy way to make a tree-browse

... "GRAND TOTAL" ocol:nEditType := {||if(::ledit,1,0)} ocol:bEditValue := {||odb2:cquery:="select * from ac where acid='"+obrow2:oTreeItem:cPrompt+"'",odb2:refresh(),obrow2:oTreeItem:cPrompt} // on chang ,to refresh other columns datas oCol:bOnPostEdit := {|o, v, n|if( ...
by ShumingWang
Wed Jul 31, 2019 1:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: An easy way to make a tree-browse
Replies: 17
Views: 3522

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

oBrw:oTreeItem is the current TreeItem.
oBrw:oTreeItem:Cargo --> { menu_id, menu_name, menu_parent_id }
by nageswaragunupudi
Wed Mar 06, 2019 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How To XBRowse Tree From MariaDB Recordset Parent Child ?
Replies: 7
Views: 1255

expandir tree em xbrowse

... nao consigo expandir o Tree? alguém sabe pq? oBrw:bKeyDown := {|nKey| BrwKeyAtUs(nkey, oBrw) } .. Static Function BrwKeyAtUs(nKey, oBrw) If !oBrw:oTreeItem:lOpened .and. oBrw:oTreeItem:nLevel == 1 If nKey == VK_RETURN oBrw:oTreeItem:Open() oBrw:Refresh() Endif ElseIf oBrw:oTreeItem:lOpened .and. ...
by Sistem
Thu Nov 29, 2018 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: expandir tree em xbrowse
Replies: 1
Views: 563

New FTDN February/Febrero 2018 (FWH 18.02)

... event. If 2nd param (nSecs) is specified, the message is diaplayed for the specified duration and closed. - Enhancement: Tree Browse: In case a oTreeItem has DATA bAction, double-click evaluates bAction with oTreeItem and oCol as parameters - Symbol bitmaps are shown in text color. - Col:bPopup ...
by Antonio Linares
Fri Mar 09, 2018 12:01 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN February/Febrero 2018 (FWH 18.02)
Replies: 0
Views: 1338

Re: tree in a xbrowse

oParentItem := oBrw:oTreeItem:Parent()
by nageswaragunupudi
Sat Sep 10, 2016 10:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tree in a xbrowse (SOLVED)
Replies: 2
Views: 654

Re: xbrowse MakeTotals()

Mr. Rao. Thank you very much for your response and detailed explanation. :bOnPostEdit := { |o,x,k| If( k == VK_ESCAPE, nil, ( ::oBrw:oTreeItem:Cargo[ _PAID ]:= x , ::ReCalculate() ) ) } Notice the error occurs when clicking on the square box of the leaf cell -**Esc key is not being explicitly ...
by reinaldocrespo
Sat Mar 28, 2015 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse MakeTotals()
Replies: 6
Views: 1680

Re: xbrowse MakeTotals()

      :bOnPostEdit := { |o,x| ::oBrw:oTreeItem:Cargo[ _PAID ]:= x , ::ReCalculate() }  may please be replaced with the standard construct:       :bOnPostEdit := { |o,x,k| If( k == VK_ESCAPE, nil, ( ::oBrw:oTreeItem:Cargo[ ...
by nageswaragunupudi
Sat Mar 28, 2015 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse MakeTotals()
Replies: 6
Views: 1680

Re: xbrowse MakeTotals()

... perfectly. If I compile with fwh 2014 it breaks. Notice the problem happens when you try to assign a value to a leaf cell on the tree, as in: oBrw:oTreeItem:Cargo[ 2 ] := 0.00. Please test and please help! Thank you. #include "fivewin.ch"#DEFINE _KEY 1 #DEFINE _PAID 1#DEFINE _EXPECTED ...
by reinaldocrespo
Fri Mar 27, 2015 11:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse MakeTotals()
Replies: 6
Views: 1680

Problem with two xbrowse tree - possible bug in dblclick ?

... ; "\fwh\bitmaps\16x16\onepage2.bmp" } ) oBrw:bKeyChar := { |nKey| If( nKey == VK_RETURN .and. ! Empty( oBrw:oTreeItem:bAction ), ; Eval( oBrw:oTreeItem:bAction, oBrw:oTreeItem ), nil ) } WITH OBJECT oBrw:aCols[ 1 ] :AddBmpFile( "\fwh\bitmaps\hdrive.bmp" ...
by Marco Turco
Sun Jun 01, 2014 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with two xbrowse tree - possible bug in dblclick ?
Replies: 2
Views: 853

Problem with Tree using bimaps from resources

... :nWidth := 340 :cHeader := 'Cartella' b := :bLDClickData :bLDClickData := { |r,c,f,o| ToggleFolder( r,c,f,o,b ) } :bBmpData := { || If( ':' $ oBrw:oTreeItem:cPrompt, 4, ; If( 'D' $ oBrw:oTreeItem:Cargo[ 5 ], ; If( oBrw:oTreeItem:lOpened, 1, 2 ), 3 ) ) } END ACTIVATE DIALOG oDlg CENTER
by Marco Turco
Sat Mar 01, 2014 2:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Tree using bimaps from resources
Replies: 2
Views: 633
Next

Return to advanced search