@Arve wrote:
In design mode (Visual Studio 6.0), I'm able to specify the Font for each axis in my CWGraph-object individually by check off "Use Control's font" in Property Pages->Advanced. Is it possible to do this programmacally (during runtime)?
Unfortunately, no. The property page uses an internal mechanism for setting subobject font that we did not expose programmatically. One workaround that might be feasible, depending on your application, would be to use the Import Style/Export Style feature. You would configure all the permutations of axis fonts that you want ahead of time and save the export each style. At run time, you could import the style that corresponds to the font settings you want. If your application involves a lot of dynamic configuration, this approach won't work.
@Arve wrote:
Also, the same "Advanced"-tab contains buttons (Up/Down) for changing the Z-order for some of graph parts. However, these buttons are always disabled. Why?
(cwui.ocx 7.1.0.306)
Thanks,
Arve
The reason that the z-order buttons are disabled is that we believed that the control parts don't overlap in a way that it would be beneficial to be able to adjust the z order. The plot area overlaps the frame, but if you moved the frame higher in the z order, you wouldn't be able to see the plot area at all. The reason that these controls are available for the graph when they aren't usable is that the Advanced property page is shared by all of the Measurement Studio ActiveX controls (CWKnob, CWSlide, CWGraph3D, CWButton, CWGraph, CWNumEdit). Some of the other controls have parts that overlap in such a way that you might want to change the z order.
Do you have a reason for wanting to adjust the z order of the graph parts?