Cashewz said:
Using a menu item to write to a sequential file from the parent form,
what code and where would I put it to write the text values,
settings, bool values from various child menues?
I'm not entirely clear on what you're trying to do.
Your menu item, as defined in a "Parent Form" wants to write "values"
to a text file. So far, so good. StreamWriters are your friend here.
Don't put this code into the Click Event handler for the menu item.
Add a method to your Form that does this work and call that from the
menu item.
If you're working with /inherited/ Forms, make the method "Protected"
rather than "Private".
If necessary, code this method to iterate [recursively] through the
contents of the MainMenu property of the Form but, if you're doing
what I /think/ you're doing, I'd recommend coding for each relevant
item manually.
HTH,
Phill W.