This works fine with TeXLive2011 and was working fine with TeXLive2012 until I recently updated the packages. So with TexLive2011, this produces:

but with an updated TeXLive2012 this yields:

Notes:
- Also there seems to be something going on with
\x. Replace\Numberin the MWE with\xand run with TeXLive2012 (with latest updates). Using\show\xshows that it isundefined, so not sure why there is a problem with using\xas the\foreachvariable. There is an warning from
mdframedPackage mdframed Warning: You have only a width of 3cm on input line 15
but not sure what it means, or what to do about it.
Code:
\documentclass{article}
\usepackage{multicol}
\usepackage{pgffor}
\usepackage{parskip}
\usepackage{multicol}
\usepackage{mdframed}
\usepackage{showframe}
\begin{document}\raggedcolumns
\begin{multicols}{6}
\foreach \Number in {1,...,14} {%
\begin{mdframed}%
\mbox{AB-\Number}%
\end{mdframed}
}
\end{multicols}
\end{document}


\xis that it's used in the definition of\mdf@trivlist; it should be replaced by a private macro such as\mdf@temp. – egreg Apr 20 '13 at 22:02tcolorbox;-) – Marco Daniel Apr 21 '13 at 07:29\xwasn't the problem. And the warning results of an previous idea of mine: Normally you have a complete line width. After subtraction of all relevant length (line width, left margin, etc) The width should be more than 3cm. – Marco Daniel Apr 21 '13 at 09:04skipabove=skipbeloware defined as 0pt. So I think the old behaviour is wrong. BTW: I wil change the default setting to\topskip– Marco Daniel Apr 22 '13 at 15:50