11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Web Application DevelopmentDetermining Mouse LocationTwo JPL globals, @web_image_click_x and @web_image_click_y, contain the Xand Y coordinates of the user's mouse click for use in JPL procedures.Widget Positioning in Web ApplicationsIn order to control widget positioning in Web applications better, a COLS attribute hasbeen added to the table definition in the generated HTML. This will affect the widgetpositioning for screens built in previous versions of Panther. For new screens, there isa higher correlation between the GUI position and the HTML position.Additionally if you create multiple boxes or grids which are aligned on two sides in thescreen editor, they will now appear to be aligned in the Browser.Note that one browser may create its widgets using different font families and sizesthan another browser, or than the Panther screen editor. This results in screens that canappear slightly different (more or less space between widgets) from browser tobrowser, or from browser to screen editor.Some helpful tips are:! If you find that widgets are being pushed out further than expected in thegenerated HTML, place repeated design elements together in a box.! If you want a group of widgets to be spaced close together, select all thesewidgets; then use Edit→Space→Custom to distance them at 0, eitherhorizontally or vertically.! Specifying font sizes in the Panther screen editor results in better positioningthan using header tags, such as H1.! HTML does not support overlapping widgets. In order to quickly detectoverlapping widgets, borders were added to radio buttons, check boxes andlabels to indicate whether they overlapped another widget. These borders do notappear at runtime. Additionally, to ensure that widgets do not overlap, use thenew menu options which find overlapping widgets (Find→OverlappingWidgets or Options→Check Overlap on Screen Save).1-50 Upgrading to Panther from JAM 7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!