Schultz’s PowerBuilder Notes

Making DW Radio Buttons and Check Boxes look disabled


An effective GUI quickly communicates to the users  how they can interact with the current window.  For most datawindow edit styles, PowerBuilder supplies its developers with the means to visually show if  it is available to accept user input.  Unfortunately, if you are working with an older version of PB,  how to show  a disabled check box or a radio button is a  puzzle.  Here is how I deal with this issue.

Continue reading

Advertisements

March 17, 2009 Posted by | 2. Datawindows, Datawindow PowerScript, Expressions, Modify and Describe | , , , , , , , , , , , | 9 Comments

PFC Security Q and A


How do I enable the PFC security service?

A common place to do this the pfc_postopen event of w_frame

gnv_app.of_SetSecurity(True) //Enable security service

How do I force security to run on a particular object

Continue reading

July 21, 2008 Posted by | 3. PFC, Utility Services | , , , , | Leave a comment

PFC Datawindow RMB Pop-up Menu


How do I disable the RMB menu

this.ib_rmbmenu = False

Continue reading

July 10, 2008 Posted by | 3. PFC, Datawindow Services | , , , | 1 Comment