473,378 Members | 1,393 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,378 software developers and data experts.

How do I create my own custom input box?

Seth Schrock
2,965 Expert 2GB
I've got a list box that allows me to drop a file on it and it will copy the file to a share on the server (related thread: How to create a drag and drop field for files?). What I'm wanting is that when I drop a file on the list box, it will bring up an input box of sorts that allows me to select a document type from a combo box, and be able to use the selection as part of the file name. From my research online, I can't make the normal input box have a combo. However, I can't think of another way for the my procedure to stop and wait for the value from my custom form and then continue on using the value selected in my form.
Mar 19 '13 #1

✓ answered by zmbd

Have you used custom events?
I have a form where the afterupdate event opens another form and then stops.
The main form is set up to listen for a custom event from the spawned form. When Spawn raises the the event, the parent responds.
The other way is a modal form and some funky workarounds with hide this and that; however, it works.

3 3712
zmbd
5,501 Expert Mod 4TB
Have you used custom events?
I have a form where the afterupdate event opens another form and then stops.
The main form is set up to listen for a custom event from the spawned form. When Spawn raises the the event, the parent responds.
The other way is a modal form and some funky workarounds with hide this and that; however, it works.
Mar 19 '13 #2
Seth Schrock
2,965 Expert 2GB
The modal form worked. After reading your post I remembered reading something about modal forms in one of my books. I was able to find it again and it works perfectly. I'm not sure what you meant by having to hide things. I just open the form with the acDialog argument and it stops the code and allows me to choose the value on my form and then it continues once I close the form. Thanks Z.
Mar 20 '13 #3
zmbd
5,501 Expert Mod 4TB
In my spawned form I will sometimes have values in unbound controls that the parent refers to; thus, to get the code to continue I hide the Spawn. The otherway is that Spawn sets a value in a control on Parent and then closes.
Mar 20 '13 #4

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

Similar topics

1
by: Jai | last post by:
Dear All How to create Custom Controls in ASP.Net,Can u Please Help Me out in this context.
2
by: Larry R Harrison Jr | last post by:
I have Access 97. I know how to create custom command bars. I typically create pull-down menus; seldom do I create toolbars. But I have a case where I would; in fact, I would like to have a menu...
2
by: Dennis C. Drumm | last post by:
This is a restatement of an earlier post that evidently wasn't clear. I am building a custom MessageBox dialog that has, among other things, a few new button options (yes to all, no to all, etc.)...
0
by: Shailaja Kulkarni | last post by:
Hi All, I am new to component development. I want to create custom control to arrange contained controls in form of polygonal shape. The objects are placed in separate panel on the some form....
1
by: Pablo Salazar | last post by:
Hi People. Somebody can help me. Some time ago I began to develop database project for a college. Actually control don't adjust that I need. I need to create a control from beginning ( from 0)....
2
by: Homa | last post by:
Hi all, Does any one know how to create a custom window like the control panel of PowerDVD and WinAmp in C#? If I need to use C++ Library to do this, where should I head to? Thanks for...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
0
by: bluray | last post by:
Does anyone know how to create custom buttons in Access using embedded images? I thinking of creating a button that changes visibilities depending on the action taken by the user with the mouse (ie:...
0
by: th12345 | last post by:
Hi All, I want to create custom excel sheet page in my web application like how Google spreadsheet was created. I do not want load data into Microsoft excel sheet. Please give some idea...
2
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have an existing (WPF) Class Library project that I'd like to add a WPF Custom Control to. However, when I try to Add New Item, that isn't one of the available options. Perhaps this...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.