Search found 218 matches

by Detlef
Wed Dec 10, 2025 11:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse GoTo
Replies: 5
Views: 1107

Re: xBrowse GoTo

Many thanks for your help, Antonio.

I appreciate your explanations how to manage trees because until now I had poor knowledge about this.
In my case I need a tree whose branches are always open. No need to close them.

I tried your source code.
Unfortunately I get an error 9009, hbx_realloc can't ...
by Detlef
Tue Dec 09, 2025 9:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse GoTo
Replies: 5
Views: 1107

xBrowse GoTo

Hi all,
with great help from this forum I created an xBrowse with a tree to visualize a one to many relationship.
Everything is working fine. I can add tasks and detail records and the tree is building up correctly.

My only problem is to position the selected line of the browse.
I made a screenhot ...
by Detlef
Sat Nov 29, 2025 8:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

Re: xBrowse and Tree

Hi Enrico,
thanks for jumping in.
FUNCTION Main()
LOCAL oDlg, oBmp1, oBmp2, oBmp3, oImageList, oBrw, oTree


RddSetDefault( "DBFCDX" )
SET DATE GERMAN

xbrNumFormat( "E", .t. ) // "E" for European, "A" for American and others
// .t. for showing thousand separators

OpenDbfs()

oImageList ...
by Detlef
Sat Nov 29, 2025 8:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

Re: xBrowse and Tree

Hello Enrico,

thanks for your suggest.
I tried it but unfortunately I get an error :
Called from: source\rtl\tobject.prg => TLINKLIST:ERROR( 0 )
Called from: source\rtl\tobject.prg => TLINKLIST:MSGNOTFOUND( 0 )
Called from: source\rtl\tobject.prg => TLINKLIST:SETIMAGELIST( 0 )

by Detlef
Sat Nov 29, 2025 2:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

Re: xBrowse and Tree

Hello Antonio.
"I’ve been retired for some years now and only do a little programming as a hobby.
But every time, I’m amazed by the great helpfulness in this forum. :D

Please, one question:

I tried
oBmp1 := LoadBitmap( GetResources(), "folder" )
oBmp2 := LoadBitmap( GetResources(), "folder2 ...
by Detlef
Fri Nov 28, 2025 3:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

Re: xBrowse and Tree

Thanks again, Antonio.
That gets me much further.

by Detlef
Thu Nov 27, 2025 10:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

Re: xBrowse and Tree

Many thanks Antonio.
This is a very helpful code for me to start with. :D

Kind regards

by Detlef
Thu Nov 27, 2025 5:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse and Tree
Replies: 13
Views: 9718

xBrowse and Tree

Hi all,

I want to create a dialog showing a one to many relationship of 2 dbf by an xBrowse Tree.
dbf 1 is "ID", "TASK"
|
+------+
|
dbf 2 is "ID", "TASK_ID", "date", "FROM", "TO"
My problem is that at program start both dbf are empty.
Pressing a button 'ADD' allows the user to create entries ...
by Detlef
Tue May 20, 2025 8:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Rao passed away @8.30 pm on 4/May/2025
Replies: 52
Views: 8987

Re: Mr. Rao passed away @8.30 pm on 4/May/2025

I do not visit the forum frequently...
the more I am totally shocked by this sad news.
Mr. Rao was a great asset of the FiveWin community. His support and endless patience to answer all our questions was a great gift to us.
I will miss all that and also him as a person of great kindness.
I'm very sad.
by Detlef
Wed Nov 13, 2024 8:11 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Buttonbar Hided RESOLVED
Replies: 2
Views: 1054

Re: Buttonbar Hided

Silvio,
you must build the button bar using the 'ON INIT' clause.
Like this:
#include "FiveWin.ch"

FUNCTION Main()
//-------------
local oDlg

DEFINE DIALOG oDlg ;
SIZE 800, 600 PIXEL TRUEPIXEL ;
TITLE " Dialog" COLOR 0, CLR_WHITE

ACTIVATE DIALOG oDlg CENTER;
ON INIT BuildBar( oDlg )

RETURN ...
by Detlef
Tue Nov 12, 2024 9:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: change color checkboxex on line
Replies: 3
Views: 1140

Re: change color checkboxex on line

Hi Silvio,

here a strange eample:
#include "fivewin.ch"


Function main()
local oWnd
local lChk := .f., oChk

DEFINE WINDOW oWnd

@ 5, 12 CHECKBOX oChk VAR lChk;
PROMPT "hi there";
SIZE 85, 20 PIXEL;
OF oWnd COLOR CLR_BLACK, CLR_WHITE ;
ON CHANGE colorize( oChk, oWnd )

ACTIVATE WINDOW ...
by Detlef
Wed Oct 16, 2024 7:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: a math formula - RESOLVED -
Replies: 8
Views: 2629

Re: a math formula

I need to make a formula to calculate a final value having an initial value for example 1 € and a fixed profit from 1 to 999
for example

If nFixedProfit is 10, nInitialBet becomes 1.50.
If nFixedProfit is from 10 to 13 nInitialBet becomes 1.50.
If nFixedProfit is 14 nInitialBet becomes 2.00
If ...
by Detlef
Sat Aug 10, 2024 6:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Timeout to close App
Replies: 16
Views: 5275

Re: Timeout to close App

Hi Jimmy,
to know that the mouse has been moved you could watch the x y coordinates of the screen cursor.
There is a function in FWH GetCursorPos() that gives you these coordinates.

Regards
Detlef
by Detlef
Fri Feb 09, 2024 8:49 am
Forum: FiveWin for Harbour/xHarbour
Topic: webview: toggle-switch replaceing TSwitch
Replies: 1
Views: 605

Re: webview: toggle-switch replaceing TSwitch

That’s really impressive, Otto! Cool. :D
by Detlef
Tue Feb 06, 2024 9:53 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Search by line
Replies: 8
Views: 1086

Re: Search by line

If you give me your email adress I will send you the docs.