Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Calling the event in another event pb7

$
0
0

Friends...

 

I am calling the rowfocuschanged event from itemchanged event....but the calling event is not working.

see the italic bold line. the event

 

 

dw_2 item changed event.

 

String ls_PassFail

 

 

If dwo.Name = 'marks_final_grade' Then

   Choose Case data   // What is the letter grade?

      Case 'A','B','C','D','E','S'

         ls_PassFail = 'Pass'

      Case 'U'

         ls_PassFail = 'Fail'   

            dw_2.TriggerEvent(rowfocuschanged!)

        case else

            ls_PassFail = 'Nil'

   End Choose

   This.SetItem(row,'marks_final_passfail',ls_PassFail)    

End If

 

my requirement is....marks_final_passfail field's font color should be red...once the 'Fail' case comes...

already the rowfocuschanged event is working...but now i am not going to that field to select 'Pass' or 'Fail'...iam doing it here...so i want to change the font color also from here(dw_2 item changed event)

 

thanks


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>