>My question is how exactly they are inserted? Manually by developer after he/she organizes the code or >automatically by IDE - if yes, how?
you would just type directly into the code editor `#region SampleRegionTitle` on one line
then a few lines down enter into the code editor the phrase `#endregion`.
this allows the developer to set up and organize their code the way they like.
try entering in the examples you were provided in the other posts and watch the Visual Studio IDE do its magic.
Incidentally that SampleRegionTitle is not a program variable and is not used for any functional purpose in the .exe file. It simply allows you to identify areas of your code with a title of your choosing...
Regions are really cool.
I wonder if VFP 10 will have regions?
O ya... there won't be a VFP 10
:)
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