HighTechTalks DotNet Forums  

Questions about embedded winControl

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Questions about embedded winControl in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
A Lonely Programmer
 
Posts: n/a

Default Questions about embedded winControl - 02-27-2004 , 08:38 AM






Hi group,

i have 2 questions i hope somebody can answer about a wincontrol being
hosted in ie.

1. Is it possible to create a pop up that prompts for a user name and
password when a button on my control is clicked?

2. Why are there no tooltips for controls in a wincontrol library project?
is there a way to get this functionality? through an implements call or
inheritance maybe?

thanks

Steve



Reply With Quote
  #2  
Old   
Muckeypuck
 
Posts: n/a

Default Re: Questions about embedded winControl - 03-03-2004 , 07:44 PM






Quote:
1. Is it possible to create a pop up that prompts for a user name and
password when a button on my control is clicked?
yes. make a form and call it ofrmlogin then declare an instance of it in the
control.

public withevents loginform as new ofrmlogin

....code...
....more code..

public sub button_onclick() handles btn1.click

loginform.showmodal() 'intellisense spells it right, dont worry =)

end sub

Quote:
2. Why are there no tooltips for controls in a wincontrol library project?
is there a way to get this functionality? through an implements call or
inheritance maybe?
yes drag on off the toolbox onto the control (thanks tim!)

"A Lonely Programmer" <SpamIsForEating (AT) MMMGood (DOT) com> wrote

Quote:
Hi group,

i have 2 questions i hope somebody can answer about a wincontrol being
hosted in ie.





thanks

Steve





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.