Complex grid vscroll issue
Hi Will,
You don’t say what version of Omnis you are on, but maybe something like
this might work for you…
On evHScrolled
If $cobj.$hscroll>20
Calculate $cobj.$hscroll as 20
End If
Clearly you’d change 20 to fit with your contents…
this is in the $event of the complex grid…
regards
Phil Potter
Based in Chester in the UK.
On 16/11/2017 12:03, will wrote:
> Hi List,
>
> Anyone have some pointers to help with our complex grids?
>
> We have added a complex grid to a standard thick client window, we have horizontal scrolling enabled but this does not seem to automatically adjust to the actual space used. The user is able to scroll right to a width of about 2500+, the furthest field we have is about 1000, which means there is a lot of wasted screen space.
>
> I can’t seem to limit this on a complex grid in the same way you can with a scrollbox which scales the $hscroll limit to the components within it, (dividers don’t seem to make a difference). Is this an Omnis issue or something we’re missing?
>
> Any help appreciated..
>
> Will
>
> Will Adkin, Software Development Manager, Lineal Software Solutions Ltd
> Apple Reseller, Microsoft Partner, SQLWorks Business Partner
> office phone: 01271 375999 | web: lineal.co.uk | email: will@lineal.co.uk
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
>
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com