General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>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.
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