Search found 31 matches: repopulate

Return to advanced search

Re: TGRAPH Repopulate

Download from :

viewtopic.php?f=3&t=28841

Image

Best regards
Uwe :lol:
by ukoenig
Fri Jul 11, 2014 1:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Very cool. How would you accomplish the same if using resources? Same logic, except that you replace @ r, c syntax with REDEFINE syntax. For samples of rc files for TGraph, please see testfldg.rc and testdisk1.rc in the samples folder. For better understanding of the class there are some good sampl...
by nageswaragunupudi
Tue Jul 01, 2014 1:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Harvey, there is still a lot to do. Because of over 40 possible settings, I'm working on a painter, to change and test everything at runtime. There is a project-file, to save all values. http://www.pflegeplus.com/IMAGES/Graph20.jpg http://www.pflegeplus.com/IMAGES/Graph21...
by ukoenig
Mon Jun 30, 2014 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Very cool. How would you accomplish the same if using resources?
by hag
Mon Jun 30, 2014 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Uwe,

RE: New methods of TGraph

I was mainly referring to adding methods to clear existing data, so new data could be added.

James
by James Bott
Sun Jun 29, 2014 1:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Dear Uwe,

You are our Graphics master, no doubt about it :-)

Thanks so much!
by Antonio Linares
Sun Jun 29, 2014 5:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

9 possible combinations between dialog- and graph : // Dialog ( values for function-call ) // -------------------------------------- nDStyle := 2 // 1 = color / 2 = Gradient / 3 = Brush / 4 = Image nDColorF := 16765559 nDColorB := LightColor( 175, nDColorF ) nDTxtColor := 255 nDGradpos := 0 LDDirec...
by ukoenig
Sat Jun 28, 2014 10:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

I found a gradient-solution ( maybe to complicated ),
better possible, to make the graph-area transparent using the dialog-background.

Image

best regards
Uwe :?:
by ukoenig
Sat Jun 28, 2014 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Mr. Rao, I'm working on a extended version of Your sample It will be possible, to change with the graph-painter the values, with the dialog-painter the dialog-background. Because of more than 30 possible graph-values , it might be useful. Yes not needed ( ! didn't change it ) AnsiToOem( Lfn2Sfn( ::c...
by ukoenig
Sat Jun 28, 2014 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Mr Uwe Thanks for all your suggestions. They are useful for improvement of the class. May I ask for a few clarifications? Please see your suggested code: IF ::nDegrade = 1nMid:=(nRight-nLeft)/2Gradient( ::hDC, { nTop, nLeft, nBottom, nRight-nMid }, nColor, LightColor(175,nC...
by nageswaragunupudi
Fri Jun 27, 2014 9:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

James,

all these paintings are included in method :

METHOD _FillRect( nTop, nLeft, nBottom, nRight, nColor ) CLASS TGraph

Best regards
Uwe :lol:
by ukoenig
Fri Jun 27, 2014 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

I suggest the sample code for redrawing as methods of the TGraph class.

Regards,
James
by James Bott
Fri Jun 27, 2014 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

Added Bar-BMP-brushes http://www.pflegeplus.com/IMAGES/Graph9.jpg IF ::nDegrade = 31 .or. ::nDegrade = 32 .or. ::nDegrade = 33 oBrush := TBrush():New( { "BORLAND", "TILED", "BRICKS" }[ ::nDegrade - 30 ] ) hBru := CreatePatternBrush( oBrush:hBitmap ) Fill...
by ukoenig
Fri Jun 27, 2014 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

Re: TGRAPH Repopulate

I will create a painter , like I have done for others solution to test different settings / selections. Because changing lDegrade to numeric, it is possible, to add more bar-paintings : 0 = NON ( Color ) 1 = Gradient horizontal 2 = Gradient vertical 31, 32, 33 = predefined styles ( BORLAND,TILED and...
by ukoenig
Fri Jun 27, 2014 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TGRAPH Repopulate
Replies: 30
Views: 9945

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: 9945
Next

Return to advanced search