Page 1 of 1

MsgBars support

PostPosted: Wed Jul 07, 2010 2:38 am
by Antonio Linares
Code: Select all  Expand view
#include "FiveMac.ch"

function Main()

   local oWnd
   
   DEFINE WINDOW oWnd TITLE "Tutor02" ;
       FROM 200, 200 TO 600, 400
       
   DEFINE MSGBAR OF oWnd    

   ACTIVATE WINDOW oWnd ;
      ON CLICK MsgInfo( "Click" ) ;
      VALID MsgYesNo( "Want to end ?" )  

return nil
 


Image

Re: MsgBars support

PostPosted: Wed Jul 07, 2010 2:58 am
by Antonio Linares
Image

Re: MsgBars support

PostPosted: Wed Jul 14, 2010 12:43 pm
by IBTC
Great!

Is it also possible to use message bar with the menu? So we can use this:

Code: Select all  Expand view
MENUITEM [ <oMenuItem> PROMPT ] <cPrompt> ;  
 [ MESSAGE <cMsg> ];  
 [ ACTION <uAction> ] ;  
 [ ACCELERATOR <cKey> ]  


<cMsg> The associated message of this control.

And also Msgitems?

Thanks.

Re: MsgBars support

PostPosted: Sat Jul 31, 2010 7:56 am
by Antonio Linares
Ruediger,

Not yet, but surely we will have it soon :-)