o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How to make a combo box locked -

How would I got about making a combo box that the user can't type into and change information in it? I just want them to be able to select items in the combo box and nothing more?

I didn't see any property to lock a combo box like this.

 

combo box locked -
how do you make a combo box locked but still select the items inside it. I can set it to locked but then I can't select anything in the box. thanks for your help. Scoutt


How to make a combo box locked -
How would I got about making a combo box that the user can't type into and change information in it? I just want them to be able to select items in the combo box and nothing more? I didn't see any property to lock a combo box like this.


C# combo box - making it read-only -
Can anyone show me how to make a combo box ready only? I have populated the combo via code and I need to stop the user from typing anything into it. I have tried the locked property, but that dont seem to make any difference. thanks


Restricting Combo box changes -
I am using a Combo box overlayed on an MSFlexGrid to perform certain edits to the grid. I would like to give my users the opportunity to make a selection from this combo box. Once the selection is made I would like to lock them out from changing that selection. Because I am usin


combo box locked/not locked options -
HI all. Is it possible to lock a combo box from manually-entered text, but still allow it to accept drop down values? I know I can code it to delete any text that is not equal to one of the list item values, but I was looking for something more like a property or automatic action


Combobox properties got me confused -
Hi all, I have combo boxes which are populated with dynamic sql from sql 7.0. I want to have the combo box style as read only so that the user cant write in a value that is not present. The problem is that I have a grid, when the user click the grid it will populate the text part of t


AHHHHHHHHH! Combo Boxes! -
Okay, I need to use the Combo_change event.. However, the style of my Combo box is a Drop Down list, so people can just select the items, instead of editing them. The .locked property makes it so you can't change your selection, so I had to turn that off.. What can I do if I n


ComboBox queries -
I have a combo box. How do I make it such that it will shows the first item in it and also that, it is 'locked' such that user cannot select it? There's a picture below to state what i want, just in case I did not present myself clearly...


need help here in vb6 save command -
here is my code is save command cmdadd.Enabled = True cmdsave.Enabled = False cmdcancel.Enabled = True Adodc1.Recordset.Update Adodc1.Refresh txteid.Locked = True txtfname.Locked = True txtlname.Locked = True txtha.Locked = True txtcn.Locked = True 'txtdob.Locked = T


Easy question locked property -
I have a textbox that I need to change at run time between where it can be changed by the user and not. In vb6 I did this with the locked property... In the design view I see locked as a property but in the code there is no textbox1.locked property. Any idea how I could do this


checking if a record is locked through ADO -
is there any way to check if a record is locked through ADO ? iam using SQLServer 2000 as my backend database and i want to make sure that if a user is currently editing a record that that record will not be shown to any other users ie i want to know weather there is a way to get a lis


how to set value on locked textbox -
hi, is that possible to set a value on a locked textbox? if yes, could plez show me some example coz i got error when try to set value in to a locked textbox. if no, what are the alternatives to put value inside a locked control?


combo boxes [Vb 2005 express edition] -
Hello got a quick question that i cant seem to figure out im using a combo box and want to make so the first value in the combo box is the value that is initially shown when the program is loaded (as well as its value being highlighted in the drop down box) I also cant seem


Who has locked what -
From time to time, my users get a message that a record is locked by naother user. I can see who is accessing the db (ACESS 2000), but I can't find out who has the record locked. Is there a way (in vb6) to determine who has a record/table locked?


Locked Properties -
I ahve a program that say has 200 items on the form, they being textboxes. cboboxes etc.. I have set all them as follows: locked = false, as I don't want anyone to change the values in the boxes until an add button, or edit button is pressed. In my cmdAdd procedure I have the followi


Locked = False -
I have a program that has 200 items on the form, they being textboxes. cboboxes etc.. I have set all them as locked = false, as I don't want anyone to change the values in the boxes until an add button, or edit button is pressed. In my cmdAdd procedure I have the following code:


mask control lock -
The textbox, combo box, etc. have the locked property. But the mask control not has the locked property. So how can I change the mask control to read only? Thanks Advance. hariharan


For each Object in Object -
Whtat is wrong with the following code. I am trying to lock a array of textboxes within a particular frame which also forms an array. What do i need to do to access the proper textbox array? Code: Sub lockTextboxes(locked As Boolean) 'This proc either locks or unlocks the text


About styles in the ImageCombo control. -
Hey all, I'm wondering if there is anyway to get around the absence of the Style (or an equivalent) property in the ImageCombo control. I want it to have a style the equivalent of not only Style: 0 (Dropdown Combo) on a regular Combo Box, but also Styles: 1 (Simple Combo) and 2 (Dropd


API for locked files -
Does anyone know of an API that will tell me if a file is locked and if it is locked who has it opened. Thanks for the help.


[02/03] Is this the Right way to handle Concurrency -
hi All i want to Control the Concurrency in my Vb.net Application that is Connection to a SQl table. this is my thought and am open for suggestion. Firstly i want to Add an bit Field in my table and named it "Locked" e.g Customer +++++++++++++++++++++++++++++ pk_ID


Make App run while PC is in sleep mode -
How can I make my app continue working even when the computer is locked or in sleep mode? Like it has a timer and does functions at certain times of the day, so can I make it still be doing things while the pc is in sleep or locked?


locking the combo box without locking the combo box -
hi, i have a combobox that i don't want the user to type info in, but i still want him to be able to select items from it. it seems that if i set the locked option to true i can't select any of the items in the list.. how do i solve this?


How to have two combo at same form -
Hello, I am just learning VB6 and i am just wondering if can make a combo list like the one has a month and the other would contain the day, i already made the combo for month but i cant make another one for day combo, i know this is a simple question for you guys., and one thin


Unstopable error -
I am working on a file manager for an intranet site. This portion is to manage users. It is also part of a project for AVCE (year before HNC) I am useing access2000 for the data base and VB6 SP5 Because of the validation techniques I am useing the combo boxes are locked


Detecting if a record is locked .... In lovely Access 2000 -
Hi all ... This would be a rather esoteric question but I'm looking for a way to determine if a record I query for is locked BEFORE attempting an assignment to the record and subsequent update ... You do the blah, blah, blah ... create recordset open recordset with the speci


Find user id for a locked file. -
I'm looking for a method of finding the network user id of a person who has a file locked. Finding if the file is locked is simple enough. But I can't seem to tell who has it locked. The files are on a Windows NT server and the workstations for the most part are Win98/2000. A


Playing with combo boxes -
In VB6, I have 2 combo boxes. I have a list of all 'types', and some of these are 'applicable'. In the first combo, I have all 'types', and in the second combo I have all 'applicable types'. How do I remove from the first combo all 'applicable types' - that is those contained in the se


Transparent Combo Box -
OK I've looked and can't find it. what I'm looking for is two things. 1) How to change the font of an individual item in a combo box list and 2) How to make the background of the combo box transparent to see the image behind it. Both these questions are complicated by the fact tha


Self adjusting Standard Combo boxes in VB -
Hi, In our VB project, we use a lot of standard combo boxes. Is there a way where we could make the combo box drop downs self adjusting. For example, Let us say, I make the width of the combo box as 6. Then if the values are AS, IS, OUR, AND etc. then there is no issue. But if th


Help with my combo box and calendar -
Hi can anyone know how to code this one? I want to make my combo box something like this. When i click may combo box a calendar pop up will show so i can set the value text of my combo box. Something Like this:


combo box problem -
Does anybody know how to make the options in an array of combo boxes mutually exclusive. ie, I've got the numbers 1 to 20 in 30 or so combo boxes and I want each number to be selected by only 1 of the combo boxes at a time and removed from the list of the others. Does anyone have


dynamic combo box -
My webpage allows the user to select an option from a combo box. The options of this combo box are All, Name, Position and Year. How do I make another combo box visible once the user has selected either the Name, Position or Year option from the first combo box? (note: When the user


Selecting Item in Combo Box via Code -
What's the method to select an item in a combo box and make it show up in the closed combo box? Eg. I populate a combo box with 15 items by code. Now nothing is selected. I want to make an item visible. What method do I use it and what is the syntax? Thanks.


Combo Boxes With Up/Down -
How do i make a combo box with the up/down controls? Or can I do it a different way? Basically I want to have the date displayed in the 'combo' box and clicking up/down will increase/decrease by one day. thanks, chaos


Combo Box Help in VB6 -
I'm having issues with a combo boxes change event. I'm using a Case since i'm going to be having about 500 choices in said combo box. Now i understand how to make the Case work when it is using numbers Ex. Case 1 case 2 etc. But what do i need to do to make it do the same thing with th


.dll getting locked out -
Im getting my codebehind dll getting locked out. On occasion and I cant find a microsoft solution to this. The dll in question is a local dll stored in the bin directory. So there should be no confilict between it and any other program. There is virus protection running on the machi


Web browser + combo box -
I want to make a combo box that will make the link in the box go to the browser. I tried the code i saw from the combo box like 5 threads down, but it opens up a new webrowser. any help? thanks jordan edit: i have the whole code, but i just need to make it open the browser ins


Combo Box selection based on Database field. -
Hello all. I am in need of assistance. I have a combo box with two entrys. Available and Away. I have a database that stores those entrys as strings. I wish to make the combo box on form load display the current data in the database by showing the proper item. the choice must m


¤ Combo Box ¤ -
how to make combo box clickable only???? because when i run my program if the combo box is enabled when we click some items we could type in the combo box and we can delete the items..........