Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 486bf89

Browse files
committed
Don't try to draw cached controls in form if they haven't been cached yet
1 parent 2eee4ed commit 486bf89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodescript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3233,6 +3233,10 @@ private command _list.DrawCachedControlList pForceRefresh, pCallback, pCallbackC
32333233
local theSequence
32343234
local theTopLeft
32353235
-----
3236+
3237+
# If controls haven't been cached yet then exit
3238+
if sControlOfIndexA is not an array then return empty
3239+
32363240
put false into noRedrawNeeded
32373241
put empty into theFirstControlHeight
32383242

0 commit comments

Comments
 (0)