|
-
Aug 17th, 2001, 06:36 AM
#1
Thread Starter
New Member
Hyperlinks to actions in Visual Basic?
I've been programming mainly in ASP and COM components but I now have to convert on of the web applications to Visual Basic.
Is it possible to display different fields from a database in a form, where some of them link to other reports and also print this report?
For Example:
Occupation:
Software Developer
Description:
Write software
Related Occupations:
System engineer
Web solutions architect
etc.
Where the related occupations are hyperlinks?
-
Aug 18th, 2001, 08:10 AM
#2
Thread Starter
New Member
Anyone have advice on this?
-
Aug 18th, 2001, 10:53 AM
#3
In a standard VB app, you don't have a hyperlinlk object per se (folks - correct me if I'm wrong - I haven't done much web stuff). (I beleive VB.NET will have a built-in hyperlink control, but I don't see corporate America upgrading to that anytime soon.)
What you could do, however, is simulate a hyperlink using a label control. On the MouseMove event of the label, you could change the appearance of the label to be a certain color and underlined (you could even change the mousepointer to a different icon, like a hand). Unfortunately, in standard VB we don't have "Mouse Leave" events, so, on the MouseMove event of the form, you could change the label appearance and mousepointer back to what they were. On the Click event of the label, you could show another form with the information related to the label.
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|