Solved

Enabling/Disabling a row in an external datawindow

Posted on 2002-07-07
3
501 Views
Last Modified: 2013-12-26
can this be done? it seems powerbuilder only has functions for its columns...
0
Comment
Question by:choklitte
[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
3 Comments
 
LVL 2

Expert Comment

by:rajeXsh
ID: 7138401
I dont think that you can disable an entire row.

Try using the protected attribute to conditionally disable all the columns.
0
 
LVL 2

Expert Comment

by:rajeXsh
ID: 7138411
Its the 'Protect' attribute of the datawindow.
0
 
LVL 1

Accepted Solution

by:
levr earned 30 total points
ID: 7138555
for this purpose I am using following:

1. add column "col_flag" - it could be not in the display list
2. for rows that need to be protected set col_flag='A'
(it could be done in run time)
3. set condition for protect property as
dw_list.Modify("column.Protect='0~tifcol_flag=~"A~",1,0)'")

This could be done for all columns or some of them.

4. the same way could be set MousePointer, Color etc
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is an NDK ? 3 109
error when checking java version 4 5,078
What is the Best Editor for PHP Development ? 5 109
IntelliJ and Eclipse Neon 2 installations 4 66
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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 NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

739 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