[futurebasic] [FB] [FB^3] HTML rendering

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2001 : Group Archive : Group : All Groups

From: Andrew Pritchard <andy.pritchard@...>
Date: Thu, 26 Jul 2001 13:03:21 +0100
Can anybody with insight into toolbox calls and specifically HTML rendering
help me. I'm trying to launch my html file at particular anchor points
(rather than just the start)

as per Staz example... down to...

err = fn HRActivate(gHRref) 'HTML displayed - yeha!
//my stuff
long if len(anchor$)//Anchor ? Then goto it!
//I use both #anchorname and without the hash - no difference
texthndl&=FN NEWHANDLE(256)
LONG IF texthndl&>0
BLOCKMOVE @anchor$+1,[texthndl&],LEN(anchor$)
FN SETHANDLESIZE(texthndl&,LEN(anchor$))
err = FN HRGoToAnchor (gHRref,texthndl&)
beep//I get this beep
if err then beep//but not this one
FN DISPOSHANDLE(texthndl&)
end if
end if
//But I'm still displaying start of the HTML file... :-(

Andy P