Solved

Enabling/Disabling a row in an external datawindow

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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: …
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 NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

912 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now