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

ComboBox Start Of Field...

stonward
145 100+
Hi again folks,

I'm sure I've seen this somewhere - although I am using Office 07 now...How do I get a Phrase Predict combobox to go to the start of the field - and not jump to the end once one character has been entered. At the moment i have to go back and select all the contents, then re-enter my parameters. Any ideas?

Thanks!

Stonward Roy.
Aug 2 '07 #1
7 2877
missinglinq
3,532 Expert 2GB
Perhaps if you explained exactly what a Phrase Predict combobox is someone could help you.

Linq ;0)>
Aug 2 '07 #2
stonward
145 100+
ha ha! Sorry - getting carried away last night with this project. It's simply an ordinary combo, with a query as its row source, but with the IME Sentence Mode set to Phrase Predict in an effort to get the control to, um, predict what the user is entering. Seems it doesn't work like that tho'! I have two issues, one being the 'jump' to the end of the combo's 'field' after entering one char...the Insert key seems to cure this, but I need to do this with code if poss...and also something strange is happening to the Input Mask....it works fine whilst inputting, but once we tab to the next field, the formatting of the data in the combo changes...any ideas guys?

Thanx

Stonward Roy
Aug 3 '07 #3
missinglinq
3,532 Expert 2GB
Don't know much about this, and I doubt that you'll run into anyone here who does, but I suspect the the 'jump' to the end of the combo's 'field' after entering one char... problem is caused because you're dealing with oriental languages, right? And I believe most of them are written/read from right to left. Hence the AutoExpand feature (what you call Phrase Predict) moves to the right end of the box after the first character is input.

I expect the input mask problem is probably related to the same thing. Exactly how is the formatting changing after data entry?

Linq ;0)>
Aug 3 '07 #4
stonward
145 100+
Oh dear! No, I'm using standard English. My products are tyres that have a format like this 195-55-15. I'm using an input mask like CCC\-CC\-CC9 - this is because there are a few tyres that have a slightly different layout (metric ones for example)...so I needed a little leeway in the Mask. This works fine in the rest of the project (and, indeed, in the 'old' version that's been used for 3 years now). When I tab to the next field this happen...19-55-515. These aren't really terrible probs....I have deeper ones to conquer...but this one has been annoying me now for some time. Basically, when the user begins typing in the 'handle' as I call it, I want the combobox to begin to arrange the stored values until we have all the relevant ones at the top of the list. This works quite well apart from the two problems I'm talking about. The 'jump' prob is that once one char is entered, the combo fills up with a stored value and i have to left-drag over the contents and begin again. Does this make it any clearer? Thanks for all your help anyhow...just having someone else thinking on it helps!!

Stonward Roy
Aug 3 '07 #5
missinglinq
3,532 Expert 2GB
IME is usually associated with KanjiConversionMode which deals in oriental language conversion; one of the things, I believe, is reversing all input so it displays right-to-left.

About the "jumping" problem; are you saying that after you enter a single character in the combobox the cursor moves to the right hand side of the box? If so, the above comment about IME would account for this behaviour.

The same would go for your problem with the input mask and formatting. What's happening, in essence, is that your input mask is being reversed after data entry is completed, going from right-to-left!

195-55-15 is becoming 19-55-515.

Why exactly are you using IME?

Linq ;0)>
Aug 3 '07 #6
stonward
145 100+
Thankyou Linq....I used it because I totally misunderstood its use, and neglected to look it up. I knew that SOME of it was to do with oriental characters, but never guessed that it ALL was. Well spotted with the input mask reversal - don't think I'd have found that in this lifetime!

Thanks again.

Stonward Roy.
Aug 3 '07 #7
missinglinq
3,532 Expert 2GB
Glad we could help!

Linq ;0)>
Aug 5 '07 #8

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

Similar topics

6
by: Omar | last post by:
When I try to databind my comboBox (specifically field "emplcode") to a filled dataset , the contents of the comboBox displays a bunch of "System.Data.DataRowView". I assume the amount of times...
0
by: dbuchanan | last post by:
ComboBox databindng Problem == How the ComboBox is setup and used: My comboBox is populated by a lookup table. The ValueMember is the lookup table's Id and the DisplayMember is the text from a...
7
by: Simon Verona | last post by:
I posted this in dotnet.languages.vb.controls but thought I'd post here as well.. I have a combobox that is bound to a dataview generated from a dataset. The dataset has a single table...
1
by: bcreighton | last post by:
I have created a bound subform on an unbound masterform linked together with a common field (A store's identification number) using an unbound combobox on the masterform and an invisible field on...
6
by: Matt | last post by:
I'm not entirely sure how to describe this issue. I have a number of ComboBoxes in my application which have their text properties bound to a field in a data set. The items loaded in the ComboBox...
11
by: DSR | last post by:
Help Please... I would like to populate a combo box on a form with a query that compares data from two tables. Any record that is unique in table1 should continue to populate my combobox. The...
4
by: JJGarcia | last post by:
Hi Everyone, I'll try to explain the process I'm following, I'm new to this so I'm triying the easy way first, probably the lasyest too! I created a new Project, drag in to it a SQLConnection,...
1
by: The.Daryl.Lu | last post by:
Hi, two parts to my problem if someone can help address either one or both: 1. I want to SELECT everything in the table if it matches the criteria when the query button is pressed (this is just...
1
by: jcm2553 | last post by:
Greetings! I have been using the basic functions in Access for many years and have been able to take care of all my needs until now. My research on this topic indicates that I must use VBA code...
3
by: Marc Gravell | last post by:
Sure; just set the DataSource, DisplayMember and ValueMember of a DataGridViewComboBoxColumn (below ). Marc using System.Collections.Generic; using System.Windows.Forms; using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
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...
0
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...

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.