Can I insert bitmaps ( with action) on status bar as Msgbar ?
Can YOu write me an example ?
Regards
STATUS bar
STATUS bar
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
Re: STATUS bar
Try the bellowSilvio wrote:Can I insert bitmaps ( with action) on status bar as Msgbar ?
Can YOu write me an example ?
Regards
local _applwindow
define window _applwindow ;
from 0,0 to 600,800 pixel
_applwindow:oMsgBar := TMsgBar():New(_applwindow,"sdfsdfsdf",.F.,.T.,.T.,.T.,,,,)
_applwindow:oMsgBar:bLButtonUp:={||msginfo(1)}
_applwindow:omsgbar:insitem(tmsgitem():new(_applwindow:omsgbar,"Click Me",120,,,,,{||msginfo('clicked')},"bitmap.bmp","bitmap.bmp"),2)
activate window _applwindow
Regards,
A.S.K
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
perhaps You don't understand me ....
I wanted Status Bar 32 bit style
can I insert on oStbar a bitmaps with action ?
I wanted Status Bar 32 bit style
Code: Select all
cRegistro := i18n( "Registrato per : " ) + Control->NomEmp
DEFINE STATUSBAR oStbar PROMPT "" OF oWnd ;
SIZES 250, 400, oWnd:nRight ;
PROMPTS "Uno", "Dos", ""
oStbar:SetPartText( 1, cRegistro )
oStbar:SetPartText( 2, cAutore )
oStbar:SetPartText( 3, cSyst )
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Silvio,
>I wanted Status Bar 32 bit style
Sorry, I didn't know there was another status bar. I have just tested it, and it appears to visually be almost identical to FW's own "messageBar." It also looks like you cannot use a graphic on it.
Since you can put graphics (BMPs) on the FW messageBar, then why not use it instead? Is there some other feature of the 32bit version that you need that the FW messageBar doesn't have?
James
>I wanted Status Bar 32 bit style
Sorry, I didn't know there was another status bar. I have just tested it, and it appears to visually be almost identical to FW's own "messageBar." It also looks like you cannot use a graphic on it.
Since you can put graphics (BMPs) on the FW messageBar, then why not use it instead? Is there some other feature of the 32bit version that you need that the FW messageBar doesn't have?
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact: