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,412 of 9,834    |
|    Robert Molyneux to Malcolm    |
|    Re: Formatting pushbutton text    |
|    18 Aug 08 07:21:01    |
   
   From: ibisnestremovespambit@iinet.net.au   
      
   Malcolm wrote:   
   > 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.   
   >   
   You could make your own "button" as a graphic icon, and use   
   icon.mouseclick(). You can make very nice working buttons with overlying   
    icons (button in, button out) to indicate status.   
      
   --- 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