Quantcast
Viewing all articles
Browse latest Browse all 3780

It shouldn't be this difficult - Open a Xojo page from HandleURL

Why not change the return type of HandleURL from Boolean to Variant, and if a WebPage is returned, display that page instead of the default page.

// HandleURL

select case request.Path
case “adminlogin.html”
return adminLoginPg
case “stafflogin.html”
return staffLoginPg
case "api/getstats
handleAPIRequest
return true
end Select

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles