Page 1 of 1

OnGetSeriesPointerStyle

Posted: Wed Jul 09, 2008 10:56 am
by 15046397
Hello,
I am a Visual Fox Pro user. I want to make a lot of chart sequentialy and all of charts will be store in the disk. I don't want to display of them. I also want to change pointer style for some conditions. Because of that I used to OnGetSeriesPointerStyle. If I create a one chart in the form, normaly it is working but when I use to TeeChart in the background (visible = .F.) OnGetSeriesPointerStyle method is not working. How can I solve this problem ?

Posted: Wed Jul 09, 2008 11:12 am
by narcis
Hello Levent,

Could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

OnGetSeriesPointerStyle

Posted: Wed Jul 09, 2008 1:02 pm
by 15046397
Hello Narcis,
I found a solution. In VFP has an AutoYield command. This command's explanation is;

Specifies whether an instance of Visual FoxPro processes Windows events between each line of user program code. lExpr can be one of the following logical values:

True (.T.)
(Default) The instance of Visual FoxPro processes pending Windows events between execution of each line of user program code.
If lExpr is set to true (.T.), the instance of Visual FoxPro processes pending Windows events in the same manner as earlier versions of Visual FoxPro.

False (.F.)
The instance of Visual FoxPro does not process pending Windows events between each line of user program code.
All pending Windows events are placed in a queue, and the events in the queue are processed when DOEVENTS is issued or a wait state occurs. A wait state occurs when Visual FoxPro is waiting for input from the user. The WAIT command does not create a wait state.

I used to Application.AutoYield = .F.

Thank you for your interest.