dim APanel as panel
apanel.initialize("")
apanel.color=colors.black 'or colors.white, or whatever color your want!
activity.addview(apanel,0,0,100%x,100%y)
apanel.bringtofront 'just in case
dim MsgResponse as int
MsgResponse=msgbox2("Your question","Title","Yes","Cancel","No",null)
select case MsgResponse
case dialogresponse.positive
callsubdelayed(AService,"ServiceYes")
case dialogrespone.negative
callsubdelayed(AService,"ServiceNo")
case else
Callsubdelayed2(AService,"MsgResponse",MsgResponse) 'or use a general one
end select
apanel.removeview
activity.finish