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,410 of 9,834   
   Malcolm to All   
   Formatting pushbutton text   
   17 Aug 08 10:53:03   
   
   From: Malcolm@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