Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oldies question no1: how to show memo content in browse?
Message
From
07/06/2005 00:06:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019782
Message ID:
01020762
Views:
30
Hi Sergey

I am trying to do something similar - except that I have in the line after Browse:

oBr.DynamicForeColor = IIF(fld1......
....
....
READ EVENTS

The above "READ EVENTS"is so that the app waits while the browse is onscreen, rather than flowing thru if no read events is inserted. Problem is that when the Browse is closed the Read Events is still in effect.

I tested while toggling Event viewing On and the output showed :

oBr.Destroy() being called followed by the DESTROY() of each column in the Browse, starting with column1.

I thought that if I could hook into that oBr.Destroy() I could issue a CLEAR EVENTS which is what I am trying to achieve.

Problem is I don't know how to hook in. The VFP Help file is useless for this.

Any ideas?

Bernard

>>How can i show the memo content instead of the word Memo in the Browse command? I'd like something like when using parenthesis in the grid to see the memo content...
>>
>Jaime,
>
>Try
>CREATE CURSOR Test (fld1 i, fld2 C(3), fld3 M)
>INSERT INTO Test VALUES (1, "One", "Text in memo 1")
>INSERT INTO Test VALUES (2, "Two", "Text in memo 2")
>GO TOP
>BROWSE LAST NOWAIT NAME oBr
>WITH oBr.Columns(3)
>	.ControlSource = "(" + .ControlSource + ")"
>ENDWITH
>oBr.AutoFit()
>oBr = Null
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform