1. Torsten Franke
  2. PowerBuilder
  3. Saturday, 7 August 2021 12:36 PM UTC

Hey,

how can a datawindow reference be passed within an datawindow expression?

Thank you

Torsten

 

forward prototypes
global function string f_tooltip (datawindow adw_obj, string as_column, long al_row)
end prototypes

 

->>>

Tooltip -> Expression

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 7 August 2021 14:15 PM UTC
  2. PowerBuilder
  3. # 1

Hi Torsten;

  What I have done in the past for this type of processing is to call an "interface" Global Function that then issues a GetFocus() command for the address of the DataWindow Control. So passing the column & row to the interface GF, let it resolve the DC address, then have it call your f_tooltip() GF should work.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.