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

Commit 5d0f421

Browse files
committed
[[ DefaultHandlers ]] Add a couple more default script overrides
1 parent c5d657e commit 5d0f421

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
script "com.livecode.interface.classic.OptionMenu"
2+
-- Sent when a menu item is picked from the option menu
3+
on menuPick pItemName
4+
switch pItemName
5+
6+
end switch
7+
end menuPick
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
script "com.livecode.interface.classic.Scrollbar"
2+
local sStartValue
3+
on mouseDown
4+
--save the initial value
5+
put the thumbPos of me into sStartValue
6+
end mouseDown
7+
8+
on scrollbarDrag newValue
9+
-- newValue contains the current thumbpos value
10+
11+
end scrollbarDrag

0 commit comments

Comments
 (0)