[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to highlight a field in datawindow?

Posted on 2002-06-19
2
Medium Priority
?
400 Views
Last Modified: 2013-12-26
I have a free-form style datawindow that displays only one record.  There are two fields in the datawindow: report and name.  Both fields are retrieved from the database.  These are not text boxes or edit boxes.  Both fields are editable and enabled and have tab values assigned.
How do I highlight the report field (selecting all text inside) using powerscript?
0
Comment
Question by:Niemand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
ptbarnum earned 80 total points
ID: 7094634
//Make it the current column
dw_1.SetColumn("report")

// Then select the text
dw_1.SelectText(1,N)  // where N is the length of the column
0
 

Author Comment

by:Niemand
ID: 7094765
It turns out that SelectText is not necessary to highlight the text because just using SetColumn would highlight the entire text.  I suppose SelectText is used so that SelectedText can be applied.
Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question