Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: David H. on December 15, 2010, 01:08:59 pm



Title: Disabling Automatic scrollbars?
Post by: David H. on December 15, 2010, 01:08:59 pm
Despite a mention here (https://4js.com/fjs_forum/index.php?action=post;topic=440.0;num_replies=1 (https://4js.com/fjs_forum/index.php?action=post;topic=440.0;num_replies=1) I still don't see any documentation on formScroll currently... I tried setting formScroll = "no" in the window style but the scrollbars still appear. In what version does it change from formNoScroll to formScroll? FYI my testing was in v2.21.10.


Title: Re: Disabling Automatic scrollbars?
Post by: Lionel F. on December 16, 2010, 10:41:26 am
Hi David,

Scrollbars are handled by GDC. They are automatically displayed since GDC 2.21, therefore you'll find a mention in the GDC documentation concerning 2.21 new features: https://4js.com/online_documentation/fjs-gdc-2.30.01-manual-html/User/NewFeatures221.html#221AutomaticScrolls

'formScroll' is a style attribute which has never been documented for the main reason that we cannot certify it's going to work in all situations. This is something really not simple to handle.

"formScroll" is nevertheless still implemented,  and thus <StyleAttribute name="formScroll" value="no" /> should remove the mechanism of automatic scrollbars in most of cases. At least, it has worked in the sample I tested using GDC 2.30.05 and 2.22.06. 

Regards,
Lionel