Questions about embedded winControl

  • Thread starter A Lonely Programmer
  • Start date
A

A Lonely Programmer

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
 
M

Muckeypuck

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
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!)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top