`
Par2: Assign URL to a button 1999-11-11 -- Gavin Halliday I can think of a simple solution, but unfortunately it requires a bug fix that didn't get in the first beta. (It should work with isapi, but not the beta stand alone broker). Try some code like: CASE ACCEPTED() OF ?MyButton WebServer.Client.TakePage('http://topspeed.com/page',false) WebServer.TakePageSent() If the URL is absolute (starts with / or http: or https:) then it should redirect correctly. Steve Parker adds: Then, the following should also work: CASE ACCEPTED() OF ?MyButton WebServer.Client.TakePage( CLIP(myLinkVariable) ,false) WebServer.TakePageSent() where a locally assembled variable contained the url. Printed November 23, 2024, 2:15 am This article has been viewed/printed 35201 times. |