Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>>>Hi Gang!
>>>
>>>In one of our apps, there is some code to do an
>>>
>>>INDEX ON
>>>
>>>to recreate the tags in the free table.
>>>
>>>
>>>The output is displayed on the form, but looks very uncontrolled... writing over text and objects.
>>>
>>>
>>>I have added an editbox to show output before we reach this point in the program.
>>>
>>>Any way to redirect the output of INDEX ON to go into the editbox, instead of the form itself?
>>>
>>>Thanks!
>>
>>Did you try set talk on and set talk window commands? You need to define window to output result of SET TALK
>
>That seems to work fine..... I was hoping to get the output to the editbox object, but no go.
>
>Thanks!
Look into the memento design pattern and specifically the codebook objects. You can create an object that during init remembers the set talk setting, the current output window, the set notify setting into internal properties and then does SET TALK ON etc. Then index. Then release the object and code in its destroy method will reset those settings.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only