Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[VW 7.2.1] Hyperlinks in VW app.
I want to put hyperlinks into a VisualWorks application ( i.e. not a web
app ).
I want the hyperlink to act like a button but look like a hyperlink.
I also want the cursor to change to a hand while mousing over.
Has anyone done this ?
Thanks in advance.



Report this thread to moderator Post Follow-up to this message
Old Post
mm
10-11-04 01:57 PM


Re: [VW 7.2.1] Hyperlinks in VW app.
WithStyle makes this very easy. With WS loaded, just execute the following:

'<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events">
<head>
<title>Invoke Smalltalk using an XML Event</title>
<style type="text/css">
span { color: blue; text-decoration: underline; cursor: hand }
</style>
<script id="executeSmalltalk" language="Smalltalk">
Dialog warn: ''Execute Smalltalk here''.
</script>
</head>
<body>
<span ev:type="click" ev:handler="#executeSmalltalk">Hyperlink</span>
</body>
</html>' wsBrowse


If you want to do a Web Form style UI, form widgets are coming in the
next version of WithStyle which integrates with Pollock.


To get hold of WithStyle, sign up with our Developer Program:
http://www.softwarewithstyle.com/join_wsdev.html



mm wrote:
> I want to put hyperlinks into a VisualWorks application ( i.e. not a web
> app ).
> I want the hyperlink to act like a button but look like a hyperlink.
> I also want the cursor to change to a hand while mousing over.
> Has anyone done this ?
> Thanks in advance.
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Rowan Bunning
10-12-04 08:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Smalltalk archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:49 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.