EXwithRaj
asked on
Smart Padding of Spaces
Here's a snippet of a .FRM file:
Begin VB.Label lblDescription
BackStyle = 0 'Transparent
Caption = "lblDescription"
Height = 255
Left = 120
TabIndex = 6
Top = 1560
Width = 4935
End
Observe how neatly the "=" are arranged in a vertical axis.Now suppose you're given this list -
BackStyle,Caption,Height,L eft,TabInd ex,Top & Width.How would you arrange it in precisely the same manner as above - with leading spaces & "="?
Begin VB.Label lblDescription
BackStyle = 0 'Transparent
Caption = "lblDescription"
Height = 255
Left = 120
TabIndex = 6
Top = 1560
Width = 4935
End
Observe how neatly the "=" are arranged in a vertical axis.Now suppose you're given this list -
BackStyle,Caption,Height,L
If you ate working uder Visual Studio .net pressing Ctrl+k and then Ctrl+F should do the trick - this is the Autoformating function, also under Edit->Advanced.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello Daniel,have you misunderstood my question?I am interested in a VB code that would perform the task that I'd explained.But your suggestion to press some hot-keys or set some menu options is indeed mystifying!What are you up to?
I don't think it should be deleted with points refunded since my solution does what was asked.
~IM
~IM