HackerTrans
TopNewTrendsCommentsPastAskShowJobs

project2501

no profile record

comments

project2501
·9 เดือนที่ผ่านมา·discuss
> Everything in the VB UI editor was based on a fixed layout. There was a fixed font size, fixed DPI-density display expectation, and fixed button sizes. Every dialog assumed fixed sizes and was non-resizable

Yes, everything in the layout was fixed, unless you chose to resize it through code

I've developed many applications in VB that dynamically resized every control to maintain a consistent UI regardless of the window size

I mean, simple things like this

textarea.width = form.width - ( textarea.left * 2 )

to keep it centered and preserved the margins

Granted, for complex layouts, it quickly evolved into a dedicated procedure to resize all controls in the correct order and handle edge cases. But it was absolutely doable, even by an amateur teenage programmer

I think other IDEs (Delphi maybe?) had anchors and other helpful features to assist with resizing
project2501
·2 ปีที่แล้ว·discuss
Overheating could be a problem. cooling by thermal radiation alone maybe isn't enough
project2501
·3 ปีที่แล้ว·discuss
similar journey, but on two parallel paths

for tech/science discussions: slashdot > HN for entertainment: rss > reddit > ? (help)
project2501
·3 ปีที่แล้ว·discuss
same here, Argentina