Link to home
Start Free TrialLog in
Avatar of EXwithRaj
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,Left,TabIndex,Top & Width.How would you arrange it in precisely the same manner as above - with leading spaces & "="?
Avatar of Daniel_Iankov
Daniel_Iankov

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
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EXwithRaj

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