473,471 Members | 1,744 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

form & mouse & event

anukagni
53 New Member
Dear Friends,

I want to display some photo which is relate to the database in a form ..

as i am having an ms db form in that i am having three button to open forms what i want to do is when the mouse goes near the button then the screen shot of that form should display in the main form near that button..

Is this possible . Please explain me...guys

anukagni.,
Jan 20 '07 #1
5 1554
nico5038
3,080 Recognized Expert Specialist
Yes, that's possible.
An easy solution might be to place the three images stacked on one another on the form and hide them with setting the visible property to false.
In the MouseOver event for button1 you van then code :

Expand|Select|Wrap|Line Numbers
  1. Me.image1.visible = True
  2. Me.image2.visible = False
  3. Me.image3.visible = False
  4. Button2:
  5. Me.image1.visible = False
  6. Me.image2.visible = True
  7. Me.image3.visible = False
etc.

Nic;o)
Jan 21 '07 #2
anukagni
53 New Member
Thank you ,
I got it
thanks a lot..
Jan 22 '07 #3
NeoPa
32,556 Recognized Expert Moderator MVP
Nice one Nico - Sweet solution.
Jan 22 '07 #4
nico5038
3,080 Recognized Expert Specialist
I use those solutions as I'm just lazy.... :-)
(Don't tell the others)

Nic;o)
Jan 22 '07 #5
NeoPa
32,556 Recognized Expert Moderator MVP
Shout it from the rooftops Nico. I've always felt that laziness is the father of ingenuity. I'm extremely lazy - it drives me to great effort to save effort :confused:
Anyway, it does for me :)
Jan 22 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Pete | last post by:
I'm working (playing) on a mouse following script. Yes, the sort no one likes but I'm having great fun tinkering with it - sad. Anyway, if there's enough page content to cause scrolling and I...
1
by: Alexandre Jaquet | last post by:
Hi, I would like to copy and paste a selected item on a web page I already 've a context menu when the user rigth click on an item. I would like to draw a rectangle who carry about current...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
8
by: Tom | last post by:
Hi I am having problems working out if the mouse pointer is within the control bounds within the OnMouseMove method: Protected Overrides Sub OnMouseMove(ByVal e As MouseEventArgs) ...
1
by: Sim | last post by:
Hello NG, I try to use drag and drop function between two list views. For this I found following code: ...
0
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
2
by: deccio | last post by:
I have create an activex Control with Visual studio 2005 and framework 2.0 in c# to add drag & drop functionality to upload multi file. When I use it in a windows form it work fine. Infact if I...
0
by: kronus | last post by:
Hi everyone, Yes, I need to use you guys as a sounding board once more :-) I have a button that has two listeners one for mouse up and the other for mouse down and they point to the same...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.