Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

cwgraph3d viewing screws up when i have cwgraph on same form

I have a form with 4 cwgraph3ds on it. I am trying to put a histogram on the same form (using a cwgraph and the cwstat function to calculate). This histogram works fine, however once the cwgraph is on the form, all the visuals of the cwgraph3d's mess up. I have the images set at a distance of .5 and to show the xy plane (which fills up the graph window perfectly). After adding this new cwgraph, the 3dgraph images appear in the top left corner of their windows and are zoomed way out. I have a button that resets the view on them and that does not fix this problem either.

I'm assuming this has something to do with trackmodes or viewmodes or something? Maybe something to do with the "windowless" property i've se
en on other activeX plugins that has given me trouble when windowless is checked.

Thanks for any help,

Kevin
kevinh@novascan.com
0 Kudos
Message 1 of 3
(5,805 Views)
Hi Kevin,

I'd need to take a look at this to see why it is exhibiting this behavior. Can you please post a small VB6 application that demonstrates this problem?

David Mc.
NI Applications Engineer
0 Kudos
Message 2 of 3
(5,805 Views)
David,

I just figured the problem out, for some reason my x and y axes were getting reset on the cwgraph3d whenever i was using the cwgraph and reactivated the form. So i just put in setminmax commands for the axesin the form_activate and it solved my problem. Thanks anyways though.

Kevin
0 Kudos
Message 3 of 3
(5,805 Views)