Solved

How to highlight a field in datawindow?

Posted on 2002-06-19
2
383 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 20 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

Technology Partners: 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

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.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

733 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