Search found 22 matches: testtre2

Return to advanced search

Re: dialog with tree and other dialog

Dear Silvio,

It seems as testtre2.prg is a better example to start with as a template

Image
by Antonio Linares
Sun Feb 20, 2022 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog with tree and other dialog
Replies: 7
Views: 484

Re: testtre2.prg - any idea how to be able to use res editor?

Thanks for the reply Shuming.

My requirement was actually met with this ChangeParent() snippet here viewtopic.php?f=3&t=23490&start=0#p126403
by hua
Thu Aug 29, 2019 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: testtre2.prg - any idea how to be able to use res editor?
Replies: 2
Views: 617

Re: testtre2.prg - any idea how to be able to use res editor?

::oTree :=TTreeView(): REDEFINE( 201, odlg,0,nrgb(255,255,255)) // 201 id ::oTree:bChanged := {|oTree,oItem|eng0303(self) } // dynamic add items .rc / .dll : CONTROL "", 201, "SysTreeView32", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL| TVS_HASBUTTONS | TVS_HA...
by ShumingWang
Tue Aug 27, 2019 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: testtre2.prg - any idea how to be able to use res editor?
Replies: 2
Views: 617

testtre2.prg - any idea how to be able to use res editor?

In fwh\samples\testtre2.prg, the controls on oDlg were all coded.

Is it possible to design dialogues using resource editor and later to dynamically moved it to oDlg depending on which tree item was clicked on?

TIA
by hua
Mon Aug 26, 2019 8:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: testtre2.prg - any idea how to be able to use res editor?
Replies: 2
Views: 617

Re: Error de pintado Treeview

... ) ) } devuelve un Hash cuando le estoy 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 ...
by cuatecatl82
Wed Aug 20, 2014 12:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error de pintado Treeview
Replies: 36
Views: 5744

Re: Treeview class question?

Dear Antonio,

I've tried as Testtre2.prg....Testtre5.prg

1. TTreeview has no nLevel as TTreeItem. How can I do?
2. I use ::OnClick method but it will effect all click.
3. It doesn't action anything when I use as Number 4 in TDIALOG. Does it work on WINDOW only?
by dutch
Wed Mar 07, 2012 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Treeview class question?
Replies: 3
Views: 838

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Antonio,
now it's ok, thank you.
by Patrizio
Mon Jul 11, 2011 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Patrizio,

This one should be ok :-)
http://fivewin.googlecode.com/files/Fivehcm.lib

Many thanks for your feedback! :-)
by Antonio Linares
Mon Jul 11, 2011 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Antonio, with the lib uptaded: Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_SetCheckState non risolto nella funzione _HB_FUN_TVSETCHECK Fivehcm.lib(TREEVIEW.obj) : error LNK2019: riferimento al simbolo esterno _TreeView_GetCheckState non risolto nella funzione ...
by Patrizio
Mon Jul 11, 2011 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

I have the same error when compile with FWH 11.06 + xHarbour.org 1.21.9376 + MSVC2008.
by Patrizio
Fri Jul 08, 2011 2:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

Re: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

Hi Gale FORD,

As a workaround add this code to prg file.

Code: Select all  Expand view
#pragma BEGINDUMP

BOOL TreeView_SetItemState( void * p, BOOL bState ) {
  return TRUE;
}

#pragma ENDDUMP
 
by Horizon
Mon Aug 23, 2010 7:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg

I tried to compile the sample program testtre2.prg and get the error
Unresolved external symbol '_TreeView_SetItemState referenced from Fivehcm.lib(TREEVIEW.obj)'

I am using FWH 10.7 + xhb.com builder nov. 2009
by Gale FORd
Mon Aug 23, 2010 4:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR FWH 10.7 + xhb.com nov. 2009 testtre2.prg
Replies: 6
Views: 1017

Re: c:\fwh\samples\testtre2.prg Error

Ok Antonio
Thanks!
by MarcoBoschi
Tue Dec 01, 2009 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: c:\fwh\samples\testtre2.prg Error
Replies: 3
Views: 652

Re: c:\fwh\samples\testtre2.prg Error

Marco,

That code was left there in FWH 9.10 by mistake. In FWH 9.11 we fixed it :-)

Thanks,
by Antonio Linares
Mon Nov 30, 2009 5:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: c:\fwh\samples\testtre2.prg Error
Replies: 3
Views: 652
Next

Return to advanced search