I've been migrating from loadLayout to programatically creating it (only in my clv, as I've measured the times and it's definitely faster). But the problem is that in the vertical CLV I'm putting nested horizontal CLVs inside. Loading it with designer made no problems, but I've realized that orientation parameter exists only in designer and I can't do it from code (something like: priv x as customlistview, then set x.Orientation= ...). I am NOT doing it during list runtime. I only want to change it before the list is actually added to any parent. Is there any way? For now a quick workaround is importing the CLV using LoadLayout and the rest of items manually, but for some reason the list doesn't want to scroll then. There's no scrollbar etc. (edit: Base_Resize function did the job and for some reason it has the exact layout but now works)
TL;DR: Set CLV orientation to horizontal programatically? Only once, and not during it's runtime
TL;DR: Set CLV orientation to horizontal programatically? Only once, and not during it's runtime
Last edited: