Schultz’s PowerBuilder Notes

The Ol’ Hidden Items in the Dddw Problem Part II


We all eventually need to build a datawindow where the contents of a drop down list is dependent on the value of another column.

Filtering the available selections in the dddw for the current row is straight forward, just add the necessary filtering script in the RowFocusChanged and ItemChanged events.   (See DDDW Contents Based on the Value of Another Column for more information regarding this. ) But if you have a tabular view, problems may soon become apparent with dependent columns in some rows displaying code values instead of descriptions.

Continue reading

Advertisements

November 16, 2008 Posted by | Drop Down Data Window (DDDW) | , , , , , , , , , , , | 9 Comments

Clicked Event


Row is 0 if user clicks a non-row object

Return 0 to continue processing, 1 to prevent focus from changing.

May 16, 2008 Posted by | DataWindow Control | , , , , , | Leave a comment

Column Properties


Display Properties (Masks)

! Upper Case
^ Lower Case
a Alphanumeric
x Any character
# Number

Continue reading

May 9, 2008 Posted by | 2. Datawindows, Datawindow Painter | , , , , , , , , , , , , , , | Leave a comment