473,287 Members | 1,643 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

pop window with results

Is it possible to have a combo box and when you make a selection from
the choices in that box, that a pop up box opens to show the results...
AND (here is the tricky part) have that pop up box close when the
window for the database loses focus (when the user clicks on another
window or just somewhere else) So you make your choice, box pops up,
then when you click on another window or the taskbar or anything else,
the box dissappears and you are back at the main window with the combo
box? This would allow the user to choose the item, copy the test out of
the popup box, then return to the other window where they are working
and copy that text into the application. They wouldn't have extra
clicking going on because the pop up closes itself when the focus moves
to another window. The next time the user returns to the database, it
is back to default view with only the combo boxes showing. I also need
to combo box to return to the defaul value when the focus moves to
another window.

I might not have explained this well.. if no one understands I will
break it down what my database is for and why this would be handy.

so if anyone follows my train of thought... got any ideas?

Jan 25 '07 #1
2 1524
Another thing that would make my job that much easier would be...

When the results pop up, for the text in the box to be automatically
copied to the clipboard. Then when the use clicks on the application we
work with, all they have to do is ctrl V to past the text into the text
box on that application. So here is the chain of action...

1. User chooses item in combo box
2. pop up appears with the selected record showing (only one field from
the record will be there, a memo field)
3. the text in that popup box is automatically copied to the clipboard.
4. the user then clicks on the application we work in (this causes the
popup to close because the focus moved to another window) and does ctrl
V (or right click and past) to paste the text into the application we
work in.
5. The next time the user goes to the database to make another
selection, the pop up is gone and the combo box has reset to the
default value it is set for.

Any thoughts or suggestions how to do this?
On Jan 25, 1:27 pm, "Torilyn73" <torily...@gmail.comwrote:
Is it possible to have a combo box and when you make a selection from
the choices in that box, that a pop up box opens to show the results...
AND (here is the tricky part) have that pop up box close when the
window for the database loses focus (when the user clicks on another
window or just somewhere else) So you make your choice, box pops up,
then when you click on another window or the taskbar or anything else,
the box dissappears and you are back at the main window with the combo
box? This would allow the user to choose the item, copy the test out of
the popup box, then return to the other window where they are working
and copy that text into the application. They wouldn't have extra
clicking going on because the pop up closes itself when the focus moves
to another window. The next time the user returns to the database, it
is back to default view with only the combo boxes showing. I also need
to combo box to return to the defaul value when the focus moves to
another window.

I might not have explained this well.. if no one understands I will
break it down what my database is for and why this would be handy.

so if anyone follows my train of thought... got any ideas?
Jan 25 '07 #2
"Torilyn73" <to*******@gmail.comwrote in
news:11*********************@j27g2000cwj.googlegro ups.com:
Another thing that would make my job that much easier would
be...

When the results pop up, for the text in the box to be
automatically copied to the clipboard. Then when the use
clicks on the application we work with, all they have to do is
ctrl V to past the text into the text box on that application.
So here is the chain of action...

1. User chooses item in combo box
2. pop up appears with the selected record showing (only one
field from the record will be there, a memo field)
3. the text in that popup box is automatically copied to the
clipboard. 4. the user then clicks on the application we work
in (this causes the popup to close because the focus moved to
another window) and does ctrl V (or right click and past) to
paste the text into the application we work in.
5. The next time the user goes to the database to make another
selection, the pop up is gone and the combo box has reset to
the default value it is set for.

Any thoughts or suggestions how to do this?
Exactly the way you describe above.
One of the regulars here, Allen Browne, has a great website.

From that site is a module with 2 functions:
Text2Clipboard(), Clipboard2Text()
http://allenbrowne.com/func-07b.html

So code the comboBox_AfterUpdate() Event to load the returned
string into your popup form and into the function. Then setfocus
to the popup form.

Use the popup from lostFocus event to close it.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Jan 27 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Scott | last post by:
I'm new to ASP, but I've been programming in VB for several years, and I'm having a few issues with this ASP enhancement I'm working on. I've found ASP to be a lot different than what I'm use to...
1
by: amith | last post by:
Hi, I have a javascript, calendar.js which i use to enable my client to select the date. This calendar pops up on the click of a gif image. But the problem is that this poped up window is not...
5
by: Nicola Pedrozzi | last post by:
Here I really need a guru... ;^( I found out today with a big disappointment that : window.open("url", ...) and also navigate("url") limit the max length of the url string to something...
4
by: Pat | last post by:
I want to submit an HTML form and have the reply appear in a small window that overlays the form window. After the reply is read, the user should be able to delete the small window, and then...
3
by: John Dalberg | last post by:
Hi I have a form that opens a new window for the results. Because the results might take a few seconds due to server processing, I would like to display a message "please wait" in the new...
2
by: Jenny | last post by:
In the code below, I can write html content var t='<body BGCOLOR=blue>' for a new window. But if it contains javascript, such as var t='<body onload="window.open('new1.html')">', this code will...
6
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
1
by: Johnny | last post by:
Hi, I'm building an engineering calculator. The calculator receives input parameters in main window form, and I would like the results to be presented on another form (pop-up window form), however,...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

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.