?
Solved

How to highlight a field in datawindow?

Posted on 2002-06-19
2
Medium Priority
?
394 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

762 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