chuckatkinson
10-Apr-2009, 10:42 AM
Request that when you drop a standard VDF class into a program that has commented code sections like Grid that the Studio comment add/remove will remove these. I understand the code is indented with comments and the code commenter doesn't handle it. So can in the Grid and other standard class code can you move the comments to the outside so to remove is just a highlight and keyboard shortcut away.
Example:
//Procedure DoFillGrid
// Integer iRow iMaxRows
//
// Move 20 to iMaxRows
// For iRow From 1 to iMaxRows
// Send Add_Item Msg_None ("Col 1, row " + String (iRow))
// Send Add_Item Msg_None ("Col 2, row " + String (iRow))
// Send Add_Item Msg_None ("Col 3, row " + String (iRow))
// Loop
//End_Procedure
//Procedure OnChange Integer iNewItem
// String sValue
//
// Get Value iNewItem to sValue // value of changed cell
//End_Procedure
Example:
//Procedure DoFillGrid
// Integer iRow iMaxRows
//
// Move 20 to iMaxRows
// For iRow From 1 to iMaxRows
// Send Add_Item Msg_None ("Col 1, row " + String (iRow))
// Send Add_Item Msg_None ("Col 2, row " + String (iRow))
// Send Add_Item Msg_None ("Col 3, row " + String (iRow))
// Loop
//End_Procedure
//Procedure OnChange Integer iNewItem
// String sValue
//
// Get Value iNewItem to sValue // value of changed cell
//End_Procedure