macMikey / LCB-missing-manual

I'm trying to learn LCB, again, but the docs are thin.
MIT License
4 stars 4 forks source link

LCB-layer msg, answer #23

Closed macMikey closed 2 years ago

macMikey commented 2 years ago

We can't use execute script during OnCreate(), OnLoad(),OnPaint()`, which makes debugging harder. Can we

BerndN commented 2 years ago

You can do "log" in onPaint.

If you want to log more than one thing use square brackets and separate by comma

log [mDoBackGround, mDoBorder]

BerndN commented 2 years ago

Or even log [mDoBackGround, mDoBorder, "from onPaint"]

macMikey commented 2 years ago

good tip

bwmilby commented 2 years ago

You can only draw within the confines of the widget rect. From LCB you cannot adjust the widget size without calling out to LCS.