Hi,
We use a TListView component in C++ Builder to enable the user make
some selections. When the user makes a selection, the selected rows
are highlighted in 'Blue'.
Now, my application is such that the user can use the 'Tab' key to
move to different components on his screen, after making the
selection. When he does so, the 'Blue' color of the selected rows goes
away and the user cannot see his selection in the TListView in 'Blue',
because the TListView is not the object of focus.
Question is: How to alow the user to see his selection on a component
that is not currently focussed? (i.e.) How to retain the 'Blue' color
on the user selections in the TListView?
Thanx in advance
-arun 3 3401
"arun venkatesan" <ar*******@yaho o.com> wrote in message
news:a2******** *************** ***@posting.goo gle.com... Hi, We use a TListView component in C++ Builder to enable the user make some selections. When the user makes a selection, the selected rows are highlighted in 'Blue'.
Now, my application is such that the user can use the 'Tab' key to move to different components on his screen, after making the selection. When he does so, the 'Blue' color of the selected rows goes away and the user cannot see his selection in the TListView in 'Blue', because the TListView is not the object of focus.
Question is: How to alow the user to see his selection on a component that is not currently focussed? (i.e.) How to retain the 'Blue' color on the user selections in the TListView?
Sorry, but the question is offtopic on this newsgroup. http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
"arun venkatesan" <ar*******@yaho o.com> wrote in message
news:a2******** *************** ***@posting.goo gle.com... Hi, We use a TListView component in C++ Builder to enable the user make some selections. When the user makes a selection, the selected rows are highlighted in 'Blue'.
Now, my application is such that the user can use the 'Tab' key to move to different components on his screen, after making the selection. When he does so, the 'Blue' color of the selected rows goes away and the user cannot see his selection in the TListView in 'Blue', because the TListView is not the object of focus.
Question is: How to alow the user to see his selection on a component that is not currently focussed? (i.e.) How to retain the 'Blue' color on the user selections in the TListView?
Ask this question on one (or more) of the newsgroups with VCL in the name
on the news://newsgroups.borland.com newsserver.
TListView or any other VCL class is not a part of standard C++, hence your
question is not topical here.
--
Peter van Merkerk
peter.van.merke rk(at)dse.nl
> We use a TListView component in C++ Builder to enable the user make some selections. When the user makes a selection, the selected rows are highlighted in 'Blue'.
Now, my application is such that the user can use the 'Tab' key to move to different components on his screen, after making the selection. When he does so, the 'Blue' color of the selected rows goes away and the user cannot see his selection in the TListView in 'Blue', because the TListView is not the object of focus.
Question is: How to alow the user to see his selection on a component that is not currently focussed? (i.e.) How to retain the 'Blue' color on the user selections in the TListView?
Thanx in advance
Use the OnExit event to write a function that keeps the listitems that
are selected blue. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ziggi |
last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's
solution or Borland's. Could any kind folks detail the relative strength
and weaknesses of both, and also tell me which you yourselves prefer.
Thanks in advance.
Ziggi
|
by: Annette Massie |
last post by:
I would like to have a form that lists current addresses being used.
On this form I would also like to have a command button that would
allow the user to add an address if they do not see it listed.
Is it possible to have the form show the list box (which is a
combinination of the address and city/state/zip), along with the
detail fields...
|
by: (Pete Cresswell) |
last post by:
I've got a TreeView on the left of my screen. As the user navigates the tree, I
load corresonding detail info into the rest of the screen.
Works ok, but when the user clicks on a detail field, the TreeView's selection
rectangle goes away and the user is left wondering what happened.
Seems like there ought TB a way to preserve that...
|
by: Brian Barnes |
last post by:
I am trying to create a template code behind file for a website which all
pages should be inherited from. This base class however, when I try to view
the aspx page in Visual studio .NET (2002), it gives me the error:
The file failed to load in the web form designer. Plese correct the
following error, then load it again: An exception occurred...
|
by: Ken Dopierala Jr. |
last post by:
Hi,
When I change properties through the property window on my custom control
and then move focus from that property cell VS.Net runs the
GetDesignTimeHtml() method on my designer. When I implement a UITypeEditor,
change the values, then close the editor nothing happens until I switch the
HTML view (which shows the changes) and then switch...
| |
by: Lamine Darbouche |
last post by:
Please Help,
I have a form with multiple buttons "New User", "Delete User", "Save"
buttons, when I access the form it selects the "New User" button by default,
so when you hit the return key ("keyboard") it goes directly to "New User"
form.
My question is:
How could I disable the default selection so that when I access the form
none of the...
|
by: sales |
last post by:
I am glad to present to the community of this group the new version of
our component intended for visual building of SQL queries via an
intuitive interface - Active Query Builder
(http://www.activequerybuilder.com/). It has full support for MS SQL
Server dialect starting from version 7 to 2005.
Active Query Builder can be used in different...
|
by: bharathreddy |
last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation.
Team Foundation is a set of tools and technologies that enable a team to collaborate and coordinate a project (software or non software projects). The team collaboration is achieved by several tools...
|
by: =?Utf-8?B?VmFuZXNzYQ==?= |
last post by:
Hi all!
I have one combobox, two grids and nine textbox. All textbox are tab index
one following another. When I press tab I go to the next textbox. How can I
known if I click on another component, like the combobox?
Thank you!
Vanessa
|
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...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |