Search found 3 matches

by Jerry
Tue Feb 24, 2009 2:18 pm
Forum: VCL
Topic: MakeIsoAxis
Replies: 5
Views: 6127

I think that GetSystemMetrics(SM_CXSCREEN) and GetSystemMetrics(SM_CYSCREEN) are the exact same thing as sceen.width and screen.height and therefore XYScreen would always be equal to 1? I'm testing Windows XP inside a virtual machine. Maybe the virtual machine is incapable of getting the correct val...
by Jerry
Tue Feb 17, 2009 6:36 pm
Forum: VCL
Topic: MakeIsoAxis
Replies: 5
Views: 6127

I am trying to use the MakeIsoAxis function from the All Features demo under 'Isometric Axis' : procedure MakeIsoAxis(Vertical, Horizontal: TChartAxis); overload; var tmpX, tmpY, XRange, YRange, Offset, XYScreen : Double; begin with Vertical.ParentChart do if (ChartHeight>0) and (ChartWidth>0) then ...
by Jerry
Mon Feb 16, 2009 5:24 pm
Forum: VCL
Topic: MakeIsoAxis
Replies: 5
Views: 6127

MakeIsoAxis

MakeIsoAxis does not always work well. Apparently, GetDeviceCaps always returns HORTSIZE = 320 and VERTZSIZE = 240 for some versions of Windows (XP and NT I think are two of them). Is there some other way that we can get this function to work properly? XYScreen:=1.0*(GetDeviceCaps(Canvas.Handle,HORZ...