Search found 32 matches: repopulate

Return to advanced search

Re: TGRAPH Repopulate

What a great masters we have here ;-)
by Antonio Linares
Thu Jun 26, 2014 9:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Very good
by cnavarro
Thu Jun 26, 2014 8:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Maybe another change, tested using a background-image : keep the background of the bar-area. ( could be optional ) ? http://www.pflegeplus.com/IMAGES/Graph6.jpg // Back area//IF ! Empty( ::cBitmap ) .AND. File( AnsiToOem( Lfn2Sfn( ::cBitmap ) ) )     :...
by ukoenig
Thu Jun 26, 2014 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

The added background-section : A higher graph shows a better vertical-gradient hBru = GradientBrush( ::hDC, 0, 0, 0, nBottom-nDeep, ; { { 0, ::nClrBack, LightColor(175,::nClrBack) } }, .T. ) FillRect( ::hDC,{ nTop, nLeft, nBottom-nDeep , nRight }, hBru ) http://www.pflegeplus.com/IMAGES/...
by ukoenig
Thu Jun 26, 2014 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Mr. Rao, Defined : oGraph:nMaxVal := 2000 oGraph:nDegrade := 2 oGraph:nClrBack := 16443068 The changes / replacements : I still have to check the wrong background-painting 1. DATA nDegrade // Degrade bars color 0, 1, 2 2. ::nDegrade := 0 // default 3. IF ::nDegrade > 0 // Gradient 4. IF ::!lDegra...
by ukoenig
Thu Jun 26, 2014 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

I modified the above code to provide for editing of values in the browse. When a value in the browse is modified, the corresponding value in the oGraph:aData is modified and the graph is refreshed.

My intention is to keep on record the possibilities of dynamic updating of TGraph.
by nageswaragunupudi
Thu Jun 26, 2014 1:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Mr Uwe

The second graph is very nice.
Can you please suggest revised code?
by nageswaragunupudi
Thu Jun 26, 2014 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Maybe possible to change optional the GRADIENT-direction ? Using a 3 way-status : 0 = NO gradient, 1 = gradient horiz., 2 = gradient vert. oGraph:nDegrade := 0 in Method _FillRect : IF ::nDegrade > 0 IF ::nDegrade = 1 nMid:=(nRight-nLeft)/2 Gradient( ::hDC, { nTop, nLeft, nBottom, nRight-nMid }, ...
by ukoenig
Thu Jun 26, 2014 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Thanks a lot ,
It is just what I was looking for !

Thanks
by Jack
Thu Jun 26, 2014 10:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Great sample!

EMG
by Enrico Maria Giordano
Thu Jun 26, 2014 7:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

WOW sensational

Best regards,
Otto
by Otto
Thu Jun 26, 2014 5:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

Hello, I have a dialog with a Listbox and a Tgraph . When i select an other line in the Listbox, i 'd like to repopulate the graph with the values of other records . How to change the values of the graph ? Thanks oGraph:aData contains an array of values. On change of record, ...
by nageswaragunupudi
Thu Jun 26, 2014 1:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

I just looked at the TGraph code and there are no methods to delete a series of data. Adding such a method would require a fair amount of programming.

James
by James Bott
Wed Jun 25, 2014 7:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

The easiest way would be to just kill the entire graph object and build a new one. This is probably not the most efficient, however.

James
by James Bott
Wed Jun 25, 2014 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967

Re: TGRAPH Repopulate

... "Valeurs", RGB(128,128,255)) oGraf:SetYVals(aLeyen) oLbxta:bChange := { || oGraf:cTitle:=trim(wrh->lib),??? here to place the code to repopulate ???,oGraf:Refresh() } ACTIVATE DIALOG oDlgrh CENTERED
by Jack
Wed Jun 25, 2014 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9967
PreviousNext

Return to advanced search