Display picture with button press

A

astello

I have a form that users will fill out to document their Top 10
customers. One of the criteria is for them to select a checkbox if a
customer is "strategic". I want to have a button at the bottom of the
form, that when pressed, displays a picture, whether as a popup or in
a dialog box (don't know if that's possible) that will show users how
to determine if that customer is indeed strategic. So when the button
is clicked, the chart will appear sort of as a popup, but not imbedded
in the form itself. Any ideas?
 
C

Clay Fox

You could use a message box to create a rudimentary table, maybe, but
probably the best scenario is to put a section in with conditional formating
that it only appears when the button is pressed. This then can be formatted
nice.
It also could be a seperate view that would appear dedicated to this. They
would press the button and then the view would change, they make their
selection and return to the main view and the selection would be done and
they coudl continue.

So either a section which appears and then hides again or a view.
 
S

S.Y.M. Wong-A-Ton

If your form is a browser-form, you can use JScript to display a popup that
will contain an HTML page with the image. To display a popup from a
browser-form, see http://support.microsoft.com/kb/555990 (Example 2).

If your form is a normal form, you should be able to host it in a WinForms
application and display a dialog box with an image. See
http://msdn2.microsoft.com/en-us/library/aa701079.aspx

You should also be able to write managed code (either VB.NET or C#) and
display a dialog box with an image when the button is clicked. You'll need to
include the System.Windows.Forms namespace in your form's code file.
 

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

Top