Skip to Content
0
Former Member
Jun 04, 2013 at 07:49 AM

dwo in PB 12.5.2

262 Views

Hi, I'm using PB 12.5.2(wpf. not classic)

my code this:

-- snip --

// uo_dw_base (inherit DataWindow)

// Event: Click

// Param: int xpos, int ypos, long row, DWObject dwo

If dwo.type = 'text' then // error

....

end if

-- snip --

I used 'dwo.GetType().Name'. but that incorrect type.

-- snip --

If dwo.GetType().Name = "String" then // error: can't convert to Sybase.PowerBuilder.PBExtObject

...

end if

-- snip --

corresponding to the 'dwo.type' What is it?