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,432 of 9,834   
   Malcolm to info@No.Spam.mk-news.com   
   Re: Formatting pushbutton text   
   19 Aug 08 16:28:49   
   
   From: Malcolm@indaal.demon.co.uk   
      
   Thanks very much, Günter   
      
   I'll try it out.   
      
   Malcolm   
      
      
   X-No-Archive: yes   
   In article <48aaa555$1@pnews.thedbcommunity.com>, Günter   
    writes   
   >Malcom,   
   >   
   >if you put the text in a table with   
   >formated memo (F_ger in my case)   
   >this works on form:   
   >   
   >scan TC:   
   >   if UIO.attach(TC.Objektname) then   
   >      UIO.value=TC.F_ger   
   >   endif   
   >endscan   
   >   
   >so I get underlined and bold strings on buttons,   
   >   
   >Günter   
   >   
   >Malcolm schrieb:   
   >> 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