Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Request: Fixed Font on popupmenus  (Read 9436 times)
.
Posts: 64


« on: March 06, 2009, 06:04:14 pm »

Hi,

Would it be possible to set a fixed font on MENU "" (STYLE="popup") please.

This type of menu is extremely useful for giving users small lists of information but would greatly benefit us if we could set a fixed font family for it, allowing us to effectively provide multi columned lists with the user selecting a row.

Either identify as (only suggestions):
(STYLE="popup_fixed") (new system fixed style like popup is now)  OR
(STYLE="popup   fixedfont") (where it allows the addition of a new style, limited to FontFamily, size etc attributes) OR
make 'popup' style adjustable in an actions default list with a limited set of attributes (again, limited to FontFamily, size etc)

Example of what we are trying to do:
R  J&J     Acuvue One Day    - 2.25        L  J&J    Acuvue One Day     -1.75
R  CIBA  Focus Dailies          - 2.25        L CIBA Focus Dailies           -1.50

With the R and L items lined up

Thanks

Jeff McFee
Reuben B.
Four Js
Posts: 1119


« Reply #1 on: March 09, 2009, 09:24:27 am »

MENU "" ATTRIBUTES(STYLE="dialog fixed") will render the buttons in the dialog box in a fixed font (assuming the fixed style has the fontFamily attribute set to something like Courier New) so you could ask the question should MENU "" ATTRIBUTES(STYLE="popup fixed") do something similar.

However I was curious why you don't use DISPLAY ARRAY.  One or more of

  <Style name="Window.popup" >
      <StyleAttribute name="position" value="field" />
      <StyleAttribute name="actionPanelPosition" value="none" />
      <StyleAttribute name="ringMenuPosition" value="none" />
      <StyleAttribute name="statusBarType" value="none" />
      <StyleAttribute name="border" value="none|tool" />
     
   </Style>
   <Style name="Table.popup" >
      <StyleAttribute name="headerHidden" value="yes" />
   </Style>

LET n = w.findnode("Table","t1")
CALL n.setAttribute("height",SFMT("%1ln", arr.getLength()))

... can be used to reduce the physical footprint of a window containing one table.  Maybe what you need is SCROLLBARS=NONE to complete it.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
.
Posts: 64


« Reply #2 on: March 09, 2009, 11:29:31 am »

Hi Reuben,

Thanks for the suggestions, though we could still really use the ability to use fixed font in a popup menu.

Popup menus work best for us in the areas we are using them. We obviously use display array type lookups a lot too and have library functions for their dynamic creation and they work well, especially as they give us lots of search options on lists.

Our use of popups though means we're often making suggestions that the users are free to ignore and just continue with what they're doing or need to list things for consideration/selection in a very fast manner. Introducing a window means they would have to specifically choose to close that window to dismiss it or double click a line, or select a button etc.

We use the popup menu style for typically short lists (infact, over a certain size they will divert to a more traditional listing in the way you suggest) and our users also find them easier and quicker to use than a display array (no window, single clicking, easy to dismiss etc).

Our 'environment' for work is not typical and speed plus the need to reduce key strokes is vitally important so popup menus are really great for us. We've even got the ability using popup menus to do 'suggested word lists' for populating fields that narrow as they continue to type into the entry field (okay, so they're not typing into the entry field but it looks to them like they are), so things like stock items, or medical terms matching what they are typing are listed (albeit we're held back by the inability to use -%$&+ etc as accelerators or in COMMAND KEY's ) or to be able to determine uppercase from lowercase key presses accurately although all this is logged in the UK.

In summary, our popup menu's tend to work very well for us, but could look better with fixed font.

Thanks

Jeff
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines