You are currently browsing the post archives for May 2011.

PowerBuilder ‘Gotcha’ – Modify Parent Datawindow after a Getchild

Posted on May 27, 2011 at 8:20 pm in

If your window makes use of a datawindowchild for whatever reason remember that if you modify the parent datawindow the reference to the child will (most likely) be lost. In the PB Help it states: If a property causes this behavior, this is noted in its description in Chapter 3, “DataWindow Object Properties.” but I…

PowerBuilder ‘Gotcha’ – Modify Parent Datawindow after a Getchild - the full story »

PowerBuilder – Treeview like Tooltips for Datawindows

Posted on May 18, 2011 at 8:20 pm in

The treeview control has a very neat piece of functionality built in called Tooltips. When this property is checked your application will automatically display all the text on a treeview item if it is cut off by the edge of the control when the mouse pointer goes over that row. If the row text is…

PowerBuilder – Treeview like Tooltips for Datawindows - the full story »

PowerBuilder – Datawindow column Edit.Style values

Posted on May 11, 2011 at 8:20 pm in

checkbox dddw ddlb edit editmask inkedit radiobuttons richtext For some reason I couldn’t find this information in a nice list so here it is.

PowerBuilder – Datawindow column Edit.Style values - the full story »

PowerBuilder – Filter vs Find performance

Posted on May 6, 2011 at 8:20 pm in

If you have rows in a datawindow/datastore and you want to look through them for a match against some new code (say you are looking for an existing entry so you can add to the quantity), it is better to use the Find method in a loop than to use the Filter method. Filtering large…

PowerBuilder – Filter vs Find performance - the full story »

PowerBuilder ‘Gotcha’ – Removing Blank Rows from Datawindow

Posted on May 5, 2011 at 8:20 pm in

I’m working with a ‘pre-Cambrian’ framework of sorts which has a datawindow ancestor with quite a lot of functionality in it. One standard piece in list type datawindows is to insert a blank row when the user opens a window. This way the user doesn’t have to click a ‘new’ button or do something else…

PowerBuilder ‘Gotcha’ – Removing Blank Rows from Datawindow - the full story »

Top