You are on page 1of 1

Popup message choices

What it does:
Shows an InputList modal dialog and allows the user to select an item from the
list and hides on selection of the item.

Why we may need it:


This will eventually become redundant as Erel adds it to the Core library.
I needed to show some popup menus, and experimented with various ideas (panels,
inputlist etc) but none were perfect.

This should take care of screen size, modality etc in the same way other dialogs
do.

sample code:

Dim r As List
r.Initialize
r.AddAll(Array As String("Download","Upload","Share"))
Dim x As id
m = x.InputList1(r,"Hello")
Msgbox(m,"Result")

You might also like