Question to TRBtn

Question to TRBtn

Postby byte-one » Mon Dec 17, 2018 12:59 pm

These button shows no change in color or other modification if the focus is on it! Is this possible to make?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to TRBtn

Postby Antonio Linares » Tue Dec 18, 2018 5:13 pm

Günther,

TRbtn objects usually don't get focus in a RibbonBar.

Are you using them somewhere else ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Question to TRBtn

Postby byte-one » Tue Dec 18, 2018 8:53 pm

Antonio, I us it as standalone-button!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to TRBtn

Postby Antonio Linares » Thu Dec 20, 2018 8:15 am

Günther,

Please try this:

oRBtn:bGotFocus = { || MsgBeep() }

and let me know if it beeps
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Question to TRBtn

Postby byte-one » Thu Dec 20, 2018 11:53 am

Antonio, I test with msginfo() and this are executed twice!
Another thing is, that with ENTER no evaluation of bAction proceeds. In the case of using this button outside from ribbon all functions of a normal button should possible!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to TRBtn

Postby Antonio Linares » Thu Dec 20, 2018 7:00 pm

Günther,

This class of buttons was specifically designed for RibbonBars.

Please provide a small self contained test PRG to try it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Question to TRBtn

Postby byte-one » Sat Dec 22, 2018 6:32 pm

Antonio, i have tried to change the class for me but not good result. To much modifications are required.
Now i use TButtonBmp (expanded to use popup-menus) with skins. This is a good solution.
Thanks for your interest!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Question to TRBtn

Postby Otto » Sun Dec 23, 2018 5:38 pm

Hallo Günther,
Ich habe für meinen Zweck die Klasse etwas geändert.
Siehe Forumsbeitrag:
viewtopic.php?f=3&t=25602&hilit=TRBtn#p139741

Ich wünsche dir ein frohes Weihnachtsfest.
Wir sind intern schon am Organisieren der „2nd FWH + [x]Harbour 2019 international conference“ .
Ich hoffe, wir sehen uns dann wieder.

Mit lieben Grüßen
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm

Re: Question to TRBtn

Postby byte-one » Mon Dec 24, 2018 9:48 am

Otto, wünsche auch euch ein schönes Weihnachtsfest. Werde wieder einmal vorbeischauen! LG Günther
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 123 guests