Learn about known issues and apply workarounds for the WPF Script and XAML editors in PowerBuilder .NET.
CR# | Description |
---|---|
623935 |
Cannot use "this" pronoun in IF THEN boolean expression.
PowerBuilder .NET raises an InvalidCastException for this code
in an IF THEN statement:
IF this = getfocus() THEN ... END IF
Workaround: Change the code to:
dragobject dragob dragob=this IF dragob = getfocus() THEN .... END IF |