home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,411 of 9,834   
   Egbert Babst to Malcolm   
   Re: Formatting pushbutton text   
   17 Aug 08 16:48:44   
   
   From: EgbertBabst@BabstSoft.com   
      
   Malcolm,   
   as far as I know it is not possible.   
   However, you could substitue the switch menu by a temorary tableframe (e.g.   
   on a small, floating dialog form) that looks like a menu, has the same   
   functionality (mouseClick) and allows you to format the options-text   
   manually or with code depending on program conditions.   
   Only an idea...   
      
   Egbert   
      
   "Malcolm"  schrieb im Newsbeitrag   
   news:fUULc05$T$pIFwAO@indaal.demon.co.uk...   
   >   
   > I've created a button in P9 which, on clicking, produces a series of   
   > options for the user using Case, thus:   
   >   
   > method pushButton(var eventInfo Event)   
   > var   
   >        theForm         Form   
   > endVar   
   >   
   > switchMenu   
   > case "Option 1:  this option opens form 1" :   
   > theForm.open("option1.fsl",WinStyleMaximize)   
   > case "Option 2:  this option opens form 2" :   
   > theForm.open("option.fsl",WinStyleMaximize)   
   > etc.   
   > etc.   
   > endSwitchMenu   
   > endmethod   
   >   
   > The text in the resulting menu appears in the default style. Is there   
   > any way of formatting it so that, e.g., the words "Option1" and "Option   
   > 2" could be in a different colour, font, etc., from the rest of the   
   > text, e.g. "this option opens form 1"? I've looked through Help and my   
   > Opal book, without success.   
   >   
   > Any help gratefully received, as always.   
   >   
   > --   
   > Malcolm   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca