ontsjc
Technical User
- May 17, 2000
- 113
Hello,
I'm using a charting Active X control (ChartFX) in a foxpro form. One of the things you can automate is the the division of the major and minor tic marks on the y-axis. The problem is that the property to set in the active x control to set the major tick marks is entitled STEP, the minor tick marks is MINORSTEP. When ever I try to automatically set the STEP tick mark, FoxPro gives me a syntax error. The MINORSTEP it has no problem with. Here's the code:
WITH THISFORM.Timeseriescontrol
.Axis(AXIS_Y).STEP = 150 &&This command generates syntax error
.Axis(AXIS_Y).MINORSTEP = 50 &&This command does not
ENDWITH
Is there anyway around this? I tried putting it into a variable, then executing the variable with a macro substitution, but that didn't work. Any help would be greatly appreciated. Thanks.
I'm using a charting Active X control (ChartFX) in a foxpro form. One of the things you can automate is the the division of the major and minor tic marks on the y-axis. The problem is that the property to set in the active x control to set the major tick marks is entitled STEP, the minor tick marks is MINORSTEP. When ever I try to automatically set the STEP tick mark, FoxPro gives me a syntax error. The MINORSTEP it has no problem with. Here's the code:
WITH THISFORM.Timeseriescontrol
.Axis(AXIS_Y).STEP = 150 &&This command generates syntax error
.Axis(AXIS_Y).MINORSTEP = 50 &&This command does not
ENDWITH
Is there anyway around this? I tried putting it into a variable, then executing the variable with a macro substitution, but that didn't work. Any help would be greatly appreciated. Thanks.