473,805 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forms: attaching labels to a combobox

Hi,

When you create a combobox on a form, both a label and a combobox are
created. This label doesn't have the same properties as a label detached
from a combobox. For example, the property 'hyperlinkadres ' is a property of
a label that doesn't belong to a combobox. But this property isn't a
property of the label belonging to a combobox.

Now here's my problem: I once deleted the labels being belonging to the
corresponding combobox. Now I'd like to get them back. Is there a way to do
this (without deleting the combobox and creating a new combobox+label) ?

Thanks in advance!

Dec 14 '05 #1
3 2896
To reattach a separate label to your combo:
1. Cut the label (to the clipboard.)
2. Select the combo.
3. Paste.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Shiva" <sh***@gonzo.co m> wrote in message
news:dn******** **@brutus.eur.n l...

When you create a combobox on a form, both a label and a combobox are
created. This label doesn't have the same properties as a label detached
from a combobox. For example, the property 'hyperlinkadres ' is a property
of
a label that doesn't belong to a combobox. But this property isn't a
property of the label belonging to a combobox.

Now here's my problem: I once deleted the labels being belonging to the
corresponding combobox. Now I'd like to get them back. Is there a way to
do
this (without deleting the combobox and creating a new combobox+label) ?

Dec 14 '05 #2
Thanks for the (very) quick reply, and yes, it works!

"Allen Browne" <Al*********@Se eSig.Invalid> wrote in message
news:43******** **************@ per-qv1-newsreader-01.iinet.net.au ...
To reattach a separate label to your combo:
1. Cut the label (to the clipboard.)
2. Select the combo.
3. Paste.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Shiva" <sh***@gonzo.co m> wrote in message
news:dn******** **@brutus.eur.n l...

When you create a combobox on a form, both a label and a combobox are
created. This label doesn't have the same properties as a label detached
from a combobox. For example, the property 'hyperlinkadres ' is a property of
a label that doesn't belong to a combobox. But this property isn't a
property of the label belonging to a combobox.

Now here's my problem: I once deleted the labels being belonging to the
corresponding combobox. Now I'd like to get them back. Is there a way to
do
this (without deleting the combobox and creating a new combobox+label) ?


Dec 14 '05 #3
Cool

Allen Browne wrote:
To reattach a separate label to your combo:
1. Cut the label (to the clipboard.)
2. Select the combo.
3. Paste.
When you create a combobox on a form, both a label and a combobox are
created. This label doesn't have the same properties as a label detached

[quoted text clipped - 7 lines]
do
this (without deleting the combobox and creating a new combobox+label) ?


--
Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200512/1
Dec 14 '05 #4

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

Similar topics

1
3741
by: Daniel Hill | last post by:
OK, I have very, VERY basic background knowledge of VB6 and have now upgraded to VB.NET and now I'm struggling to bring up the forms I want. What I am looking to do is to have a click a command button bring up a form, and to have which form is brought up determined by which item is selected in the accompanying combo box. I've gathered that you have to declare the item as a
7
1971
by: viki | last post by:
Hi, I want to attach forms as an attachment to an email. Can anybody help me with this. The forms has textboxes, labels , checkboxes e.t.c.,, when i try to attach the form it displays as a table format. But i want to attach as it is seen in the form view. thanks in advance, viki
6
1871
by: Armando | last post by:
Hey gurus - Access 2000 - I have a form with a series of box controls forming a map of clickable areas, and I want each one to have a label. No problem, just put 'em on, right? But I also want the box/label combination to act as a single item when clicked - that is, not have to put the same OnClick code on both the box and the label (or force the user to click on the background only). I've tried attaching the label to the box (by...
0
413
by: Hector | last post by:
I have a ComboBox set up in a non-modal form. When a selection is made from the ComboBox, the handler code closes the form, but then the system crashes because of an unhandled NullReferenceException. There is a reference to Unsafe Native Methods and Callback functions, but Interop Services are not used. What is going on ? The problem does not occur if the form is made modal. Any thoughts would be appreciated. The code appears below for a simple...
11
1613
by: NM | last post by:
Hi, In my project, I have 2 forms; both have a common panel (with combobox, textbox, labels, methods, ...). Is it possible to create that compoment separetly and then add it to the 2 forms? If yes, how? Thanks in advance;
1
1906
by: PaulB | last post by:
In my application, I have many forms. Some of these forms contains some labels, which are placed in the header section, and act as a column header. Because of the available space, the orientation is vertical. This application (A2K format) is used by many users on different platforms and with both A2K and A2K3, without problems. However, one of the users reports that in the forms with vertical labels, the text is invisible. When these...
0
2107
by: Jake Montgomery | last post by:
I am using .NET 2.0 forms and running on Windows XP SP2. When I have a tooltip on a combo box, and the combo box is expanded (“dropped down”) using the arrow, it will no longer display it’s tooltip, no matter how long I hover. Even if I move off the control and back it will still not display its tooltip. If I then go to another control that has tootips, then back to the combobox, it will again display its tooltip, until the next time it is...
4
6667
by: Jerad Rose | last post by:
I'm baffled by this -- is there not a typed object used for ComboBox Items? Best I can tell, all of the methods for ComboBox that accept an Item are of type Object. Why in the world is a common/standard .NET control accepting an Object as a parameter type? In Web Forms, there is a ListItem object that can be passed in to add/retrieve objects from a DropDownItems collection. I searched Google groups, and all the solutions I'm finding...
10
2107
hyperpau
by: hyperpau | last post by:
I've been going nuts about it and I've been searching all over the forums to find answers. Can somebody please help me? I am a somehow advanced Access user with basic VBA knowledge. (No ADO or SQL) I have created this database for a Repair Center company to keep track of items that are received, transferred to a third party technicians, and released back to customers. I created 3 Main tables with the following fields. 1) ...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10607
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5541
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3843
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.