HMGSCRIPT R41
Posted: Thu Dec 25, 2014 8:59 pm
New in R41
- New: setUnits( units ) function. Set default length units. If not specified, default is
'px' (pixel).
Valid values for units are:
'em' Relative to the font-size of the element (2em means 2 times the size of
the current font)
'ex' Relative to the x-height of the current font (rarely used)
'ch' Relative to width of the "0" (zero)
'rem' Relative to font-size of the root element
'vw' Relative to 1% of the width of the viewport
'vh' Relative to 1% of the height of the viewport
'vmin' Relative to 1% of viewport's smaller dimension
'vmax' Relative to 1% of viewport's larger dimension
'%'
'px' pixels (1px = 1/96th of 1in)
- New setArrayEncoding(encoding) function. It sets the format used to send arrays to the
server by the httprequest function. Valid values are 'HARBOUR' and 'JSON'.
- Modified: RadioGroup requires new two additional parameters: 'spacing' and 'labelMargin'.
- New: When the user attempts to leave or reload the app page using browser commands, a
warning is shown, allowing the action cancellation.
- Modified: If width and height parameters are ommited, form assumes 100% for both.
- All new mobile samples.
Download: https://sourceforge.net/projects/hmgscript
Enloy!
Roberto.
- New: setUnits( units ) function. Set default length units. If not specified, default is
'px' (pixel).
Valid values for units are:
'em' Relative to the font-size of the element (2em means 2 times the size of
the current font)
'ex' Relative to the x-height of the current font (rarely used)
'ch' Relative to width of the "0" (zero)
'rem' Relative to font-size of the root element
'vw' Relative to 1% of the width of the viewport
'vh' Relative to 1% of the height of the viewport
'vmin' Relative to 1% of viewport's smaller dimension
'vmax' Relative to 1% of viewport's larger dimension
'%'
'px' pixels (1px = 1/96th of 1in)
- New setArrayEncoding(encoding) function. It sets the format used to send arrays to the
server by the httprequest function. Valid values are 'HARBOUR' and 'JSON'.
- Modified: RadioGroup requires new two additional parameters: 'spacing' and 'labelMargin'.
- New: When the user attempts to leave or reload the app page using browser commands, a
warning is shown, allowing the action cancellation.
- Modified: If width and height parameters are ommited, form assumes 100% for both.
- All new mobile samples.
Download: https://sourceforge.net/projects/hmgscript
Enloy!
Roberto.