On Wednesday 12 November 2008 12:34:46 pm [EMAIL PROTECTED] wrote:
> Except when initializing, the DynamicVisible method never fires.  I am
> using code like...
>
> Mygrid=dabo.ui.dGrid(self,DynamicVisible=self.Form.showmyGrid)
>
> Also tried
>
> Mygrid=dabo.ui.dGrid(self)
> Mygrid.DynamicVisible=self.Form.showmyGrid
>
> def showmyGrid(self):
>       ok2show=True
>       if this:
>               ok2show=False
>       return ok2show
>
> Any suggestions?
>
> Thanks,
> Larry Long

Any chance you are mixing python and VFP  -> 'if this'

Unless you have defined 'this' the python script might fail without you seeing 
it - are you debugging from wing?  Are you sure showmyGrid is returning True?



-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to