Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-12 Thread Przemyslaw Czerpak
On Wed, 12 Nov 2008, Pritpal Bedi wrote: Hi Pritpal, > I wonder why I took a long route whereas the shortest and > neatest was awailable. Please try to read carefully the text below. If you will not understand sth then please ask about it. I'll try to help but I need that you will want to create

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-12 Thread Pritpal Bedi
Hello Przemek I cannot think of myself so dumb :-(( I wonder why I took a long route whereas the shortest and neatest was awailable. Przemyslaw Czerpak-2 wrote: > > HB_FUNC( HB_GTINFO ) > { >if( ISPOINTER( 1 ) && ISNUM( 2 ) ) >{ > PHB_GT pGT = hb_gt_ItemBase( hb_param( 1, HB_IT_

RE: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) -Feature Request

2008-11-12 Thread Pritpal Bedi
Massimo >Do you plan implement a complete version in few month? I will try as much I could. But for sure someone should join me in this effort. First let me expose the basic class structure and some functional dmo code. Once this is in place, I think we can go miles ahead. Regards Pritpal Be

RE: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) -Feature Request

2008-11-12 Thread Massimo Belgrano
Pritpal Bedi Sent: Wednesday, November 12, 2008 7:41 AM To: harbour@harbour-project.org Subject: Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) -Feature Request Przemek May be I could not present my case properly. I understand your implementation of new GT and also how it is behaving

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-12 Thread Przemyslaw Czerpak
On Tue, 11 Nov 2008, Pritpal Bedi wrote: Hi Pritpal, > May be I could not present my case properly. > I understand your implementation of new GT and also > how it is behaving. My request is based on the new OBJECT > modal I am building on lines with Xbase++ where I needed > such functionality.

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-12 Thread Szakáts Viktor
I'd suggest to try to solve this problem using existing facilities. Pouring new variations into the core seems not the best idea when we have already quite some open problems around this area. Brgds, Viktor On 2008.11.12., at 7:40, Pritpal Bedi wrote: Przemek May be I could not present my ca

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Pritpal Bedi
Przemek May be I could not present my case properly. I understand your implementation of new GT and also how it is behaving. My request is based on the new OBJECT modal I am building on lines with Xbase++ where I needed such functionality. I only need GTINFO manipulation is such way nothing

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Przemyslaw Czerpak
On Tue, 11 Nov 2008, Pritpal Bedi wrote: Hi Pritpal, > No, not exactly. > So to check if above protocol works I did some tests. > hb_gtSelect( pGT ) swaps the current GT with pGT and this is > what I do not want. I just need to set/get a parameter of > another window ( GT ) from another threade

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Przemyslaw Czerpak
On Tue, 11 Nov 2008, Szak�ts Viktor wrote: Hi Viktor, >> function hb_gtInfoEx( pGT, ... ) >> local pCurrGT := hb_gtSelect( pGT ), xResult >> xResult := hb_gtInfo( pGT, ... ) > I guess Przemek meant: 'xResult := hb_gtInfo( ... )' > It was a simple typo. Exactly. Thanks. best regards,

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Pritpal Bedi
Hi Szakáts Viktor wrote: > >> But see my question. I explicitly need a function which >> I call with pGT as first parameter. > > And the above was exactly it. > > No, not exactly. So to check if above protocol works I did some tests. hb_gtSelect( pGT ) swaps the current GT with pGT and th

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Szakáts Viktor
function hb_gtInfoEx( pGT, ... ) local pCurrGT := hb_gtSelect( pGT ), xResult xResult := hb_gtInfo( pGT, ... ) I guess Przemek meant: 'xResult := hb_gtInfo( ... )' It was a simple typo. May be. But see my question. I explicitly need a function which I call with pGT as first paramet

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Pritpal Bedi
Hello Szakáts Viktor wrote: > >> function hb_gtInfoEx( pGT, ... ) >> local pCurrGT := hb_gtSelect( pGT ), xResult >> xResult := hb_gtInfo( pGT, ... ) > > I guess Przemek meant: 'xResult := hb_gtInfo( ... )' > It was a simple typo. > May be. But see my question. I explicitly nee

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Szakáts Viktor
Hi Pritpal, <<< function hb_gtInfoEx( pGT, ... ) local pCurrGT := hb_gtSelect( pGT ), xResult xResult := hb_gtInfo( pGT, ... ) I guess Przemek meant: 'xResult := hb_gtInfo( ... )' It was a simple typo. Brgds, Viktor ___ Harbour mailing

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Pritpal Bedi
Hello Przemek <<< function hb_gtInfoEx( pGT, ... ) local pCurrGT := hb_gtSelect( pGT ), xResult xResult := hb_gtInfo( pGT, ... ) hb_gtSelect( pCurrGT ) return xResult >>> <<< function hb_gtCurrent() return hb_gtSelect() >>> FUNCTION Main() LOCAL pGT pG

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-11 Thread Przemyslaw Czerpak
On Sun, 09 Nov 2008, Pritpal Bedi wrote: Hi Pritpal, > Can we have hb_gtInfoEx() function accepting > as its first parameter and then the rest parameters. > It will help me to control GT behavior from other threads . function hb_gtInfoEx( pGT, ... ) local pCurrGT := hb_gtSelect( pGT )

Re: [Harbour] hb_gtInfoEx( pGT, nGtInfo, xValue, xValue2 ) - Feature Request

2008-11-10 Thread Pritpal Bedi
To keep it alive ! Pritpal Bedi wrote: > > Hello Przemek > > Can we have hb_gtInfoEx() function accepting > as its first parameter and then the rest parameters. > It will help me to control GT behavior from other threads . > > Also can we retrieve for current context, i.e., > pGT := hb_gt