Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PopupMenu: use Label for sel
#1
how to i get the menu text instead of index?

like
sel PopupMenu.Index.Label
case "Andre"

Function rclick
Code:
Copy      Help
str menu=
;Andre
;Anne
;Dirk
;Empfang
;Maya
;Lichtrechner Lenovo
;Server
;-
;Admin Backupstation
;Admin Fritzbox 1
;-
;Exit
out
int i=PopupMenu(menu)
;out i

sel(i)
,case 1 make_rdp("andre-pc" "remote" "starled02")
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)