Ribbonbar misbehaviour? |
Post Reply |
Author | |
b4gn0
Groupie Joined: 26 November 2007 Status: Offline Points: 30 |
Post Options
Thanks(0)
Posted: 08 April 2008 at 4:36am |
Hello, finally i found out what was causing this strange behaviour:
Normal Wrong Our application has the need to dinamically change the menu during runtime, but this strange behaviour occurs when i call the RemoveAllTabs method. The blue bar doesn't stay always there, it just shows up sometimes when the form loses the focus. Is there a fast workaround for this? OS: Win2000, XP, Vista Thank you for your time, b4gn0 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
if you set .Caption property after you enable ribbonframe, it can restore system frame.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
WaleedSeada
Groupie Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Hello All, I have the same behavuior when I open a dialog, I guess that the form need re-paint again to draw correctly the winodw title bar any advice ... Regards, |
|
:Powerbuilder 10.5
:Codejock suite 11.2.2 ========================= Waleed Seada |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Can you try beta 12.0 version ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
b4gn0
Groupie Joined: 26 November 2007 Status: Offline Points: 30 |
Post Options
Thanks(0)
|
Works in 12.0
When will them be released as stable? |
|
WaleedSeada
Groupie Joined: 29 March 2007 Location: Egypt Status: Offline Points: 88 |
Post Options
Thanks(0)
|
Is there any work arround in 11.2.2
Regards,
|
|
:Powerbuilder 10.5
:Codejock suite 11.2.2 ========================= Waleed Seada |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
See my answer from 08 April |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
RedFin
Groupie Joined: 26 March 2008 Location: Australia Status: Offline Points: 47 |
Post Options
Thanks(0)
|
Hi,
In this forum post JantjeKeizer provided the tip to use the SetWindowText API. Can use it at any time and so far I haven't had any more problems with the ribbon bar theme. The declaration is ... Public Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
You can place something like this in your MDI parent window.
This way changing the caption is similiar to the 'normal' caption property. You only need it in the MDI parent anyway, as you can change captions of MDI children without problems.
Just a suggestion. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |