Thanks Greg. I'll give it shot. :o)
>>I recommend GKKComparison that Alan pointed you to. I really like it for forms. I'm working on making it accessible via Vault - I have that part done but the only holdback right now is that the control Greg uses for editing only allows editing on one side and we need both sides to be modifiable from Vault.
>
>There is a property on the Edit control (CodeMax) that controls this -- ReadOnly. I set the one on the right side to true; left side is False. There is also the concern of not editing the PROCEDURE ENDPROC lines in the form methods -- this is controlled by another custom property LockProcLines -- set it to True for the right side. In the Pageframe1.Init method is where you would set the LockProcLines value (this is where the instance of CodeMax is added to the form). The edit readonly property would be set in the method Treeview1.SetSelectedNode (it would need to have the same logic as the left side).
>
>Note that CodeMax is always added at runtime to the forms using the visual class definition via the NEWOBJECT method. If CodeMax is added at design time it does not behave well under the VFP design environment.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"