Hide a childband
Hi NG,
Is it possible to hide a childband? I tried it this way, but it does't work because all childband get invisible!
childband1.visible := false
huby
Is it possible to hide a childband? I tried it this way, but it does't work because all childband get invisible!
childband1.visible := false
huby
Comments
if <Line#> = 4 then
MasterData1.Child := nil
else
MasterData1.Child := Child1
I found the solution to this problem. First in Delphi I've to get the access to all the childbands I want to include/show and exclude/hide.
[code]
var cb1, cb2 ??¦: TfrBandView;
??¦
cb1 := FindObject('childband1') as TfrBandView;
cb2 := FindObject('childband2') as TfrBandView;
... cb1.ChildBand := cb2.Name; ??¦