PB 9.0.1 Build 7066
Windows 2K
I am trying to obtain the visible property of a column on the datawindow.
However the column has an expression that controls whether or not the object
is visible at run time. So I can not simply get the visible property
because doing a simple...
ls_visible = adw_data.Describe(ls_objects[ll_object_index] + ".Visible")
...returns the default value and the expression separated by a tab.
"1~tIf(describe(group_cc.expression), 'supply_name', 1, 0)"
If I strip out the default value and attempt to evaluate the true expression
only get back ! from the describe.
please help.
-mark
FOR l = 1 to ll_dw_row_count
ls_visible_exp = adw.Describe(ls_sel_objs[m] + ".Visible")
ls_exp = Right(ls_visible_exp, Len(ls_visible_exp) - Pos
&(ls_visible_exp, "~t"))
if ls_exp <> ls_visible_exp then
ls_eval = "Evaluate(~"" + ls_exp + ", " + String(l) + ")"
If Integer(adw.Describe(ls_eval)) = 1 then
//visible, do WHATEVER
End if
else
if Integer(ls_exp) = 1 then
//visible ....end if
end if
Next
hth
> Hi,
>
> PB 9.0.1 Build 7066
> Windows 2K
>
> I am trying to obtain the visible property of a column on
> the datawindow. However the column has an expression that
> controls whether or not the object is visible at run time.
> So I can not simply get the visible property because
> doing a simple... ls_visible =
> adw_data.Describe(ls_objects[ll_object_index] +
> ".Visible") ....returns the default value and the
Tim.
"Mark Pellegrino" <mpell...@crucnhtime.com> wrote in message
news:40e181bd@forums-2-dub...