Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

control size of modify memo window ?

Status
Not open for further replies.

mallee

Programmer
Nov 7, 2000
116
I would like to be able to use modify memo xxx in a form and
dynamically set the window size depending on how big the memo field data is. Any Ideas ?

TIA.
 
You can create a window using DEFINE WINDOW and set the properties to how you'd like the MODIFY MEMO window to look. It looks something like this:
[tt]
DEFINE WINDOW MemoWindow FROM 10,10 TO 20,50 ;
FLOAT SYSTEM ZOOM GROW TITLE "Edit memo field:"
MODIFY MEMO MyMemo WINDOW MemoWindow
[/tt]
For a complete list of the DEFINE WINDOW clauses, you need to check the Help file. In the VFP6 help file, the index doesn't show it, but you can get to it by finding the ACTIVATE WINDOW help and clicking "See Also" at the top.

Hope that helps,

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top