Posts: 1,058
Threads: 367
Joined: Oct 2007
11-26-2019, 09:50 AM
(This post was last modified: 11-26-2019, 10:11 AM by ssimop.)
I wonder whether it is possible to leave window open, after selecting an item, in ListDialog window. Many thanks in advance.
Workaround:
Function
tempf01
int m
;gm
int j=ListDialog("Line1[]Line2[]Line3" "Lines" "Caption" 0 0 0 0 0 m)
m=j
if j>0; goto gm
Posts: 12,092
Threads: 142
Joined: Dec 2002
No, need to clone and edit ListDialog, and it can be difficult. Better create new similar function with dialog with eg listbox control.
Posts: 62
Threads: 22
Joined: Jul 2017
10-05-2020, 01:33 PM
(This post was last modified: 10-05-2020, 01:53 PM by ScottF.)
Function
FunctionOne29
;; / FunctionOne29 \
;;
;; Keep ListDialog open after selections, cancel to close dialog.
;;
;; Add Label above Sel statement
;; Then at end of that case statement go back to label.
;; Links
sel(ListDialog("Link1[]Link2" "Open Links" "Links" 0x1))
,case 1 ;; Link 1
,out "Link1"
,goto Links ;; <<---- goto label "Links"
,
,case 2 ;; Link2
,out "Link2"
,goto Links ;; <<---- goto label "Links"
,
,case else ret