FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Ribbon bar under Terminal Server
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Ribbon bar under Terminal Server
Posted: Sun Mar 21, 2010 08:05 AM
Hi to all.
I've noticed that the ribbon bar is not correctly painted when the program is working under Terminal server.

The problem is with the little triangle used when the button has the popup clause. I'm trying to find inside the
ribbon source class where this little triangle is painted, but seems that is not inside that source. Where can I
change the bitmap that is painted ?
Thanks a lot.
Massimo.
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Ribbon bar under Terminal Server
Posted: Sun Mar 21, 2010 01:34 PM
Hello...


the CLASS TRBBTN has a data ::hArrow you can set this data with you own bitmap handle
Code (fw): Select all Collapse
DeleteObject( oBtn:hArrow )
oBtn:hArrow = hMyOwnBitmapHandle


for TRBGROUP is necessary do class internal changes
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Ribbon bar under Terminal Server
Posted: Sun Mar 21, 2010 04:53 PM

Hi Daniel.
I need to use both, Buttons and Groups.
Is it possible to make the changes for Groups ?
Thanks a lot.
Massimo.

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Ribbon bar under Terminal Server
Posted: Mon Mar 22, 2010 08:06 AM

Hi Daniel.
Using the command ADD BUTTON, where is the place for changing the arrow ?
Thanks a lot.
Massimo.

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: Ribbon bar under Terminal Server
Posted: Mon Mar 22, 2010 12:53 PM
Hello Massimo...


you can make the "Function LittleArrow"

Code (fw): Select all Collapse
function LittleArrow()
   hBmp = ReadBitmap( 0, "MyBitmap" )
return hBmp
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Ribbon bar under Terminal Server
Posted: Tue Mar 23, 2010 08:18 AM

Hi Daniel.
I've tried your suggestion with different bitmaps, and the result is always the same.
One bitmap with a little black arrow and the background gray, and another with the background transparent.
Have you one little bitmap with the little arrow for making the test ?
Thanks a lot.
Massimo.

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Ribbon bar under Terminal Server
Posted: Tue Mar 23, 2010 01:38 PM

Have you tried increasing the resolution or the number of colors for the terminal services session?

Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: Ribbon bar under Terminal Server
Posted: Tue Mar 23, 2010 04:16 PM

Hi Gale. Sure, I did it. The strange thing is that the same problem appears in the windows session inside
Fusion in the Mac. And is the only thing that is not working in the correct way. I'm going to take away the
ribbon bar and using a normal row of buttons inside the main window.

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: Ribbon bar under Terminal Server
Posted: Mon Oct 04, 2010 09:07 PM

I am testing the Ribbon Bar with Citrix/Terminal Services using latest Fivewin and xHarbour. I see the problem with the arrows. I will do some more testing but has anyone else noticed this and have a fix?

BTW: I am just using ribbon.prg in the samples folder.

Continue the discussion