Jump to content


Photo

flickering close button in nxPageControl


  • Please log in to reply
11 replies to this topic

#1 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 23 February 2007 - 01:40 PM

hi
put a nxPageControl
set CloseButton to be visible
put some TSpeedButtons and put TBitmap on them on a panel aligned to TOP
the buttons are on a panel which is placed inside the TnxTabSheet

while hovering those buttons with the mouse, the close button is flickering
the scrollers (right left) are not.

#2 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 11 March 2007 - 01:08 AM

reminder of this issue
it makes the app looks very problematic
with this X flickering

is there a quick fix for that?
will it be fix in the next release?

#3 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 19 March 2007 - 08:38 PM

a quickfix (or mayb the only solution?)
would be to define the pagecotrol.doublebuffer := true;
that solves this problem

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 17 April 2007 - 11:34 PM

Hello Emailaya,

I didn't understand a problem, can you please attach me a small screenshot to I spot where is a problem.

You may send me a layout of speedbuttons inside panel in screenshot.

Thank you.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 18 April 2007 - 11:05 AM

i wont be able to make a demo soon (im at work now)
i cant make a screenshot bcoz the X flickers
flickers means disappear and appear really quicly

simply put a form
on the form put page control with 1 or more pages
define to show the close button of the pagecontrol
put a toolbar component on 1 of the pages
put some speedbuttons on the toolbar component
now move the mouse over the buttons
if u look at the X button, u will see it flickers
the scrollers (right/left) are not flickers
if u wont be able to see the problem
let me know and i will try to make a demo later when im home

notice that the doublebuffer causes another problems
so the workaround is not so good smile.gif

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 April 2007 - 01:18 AM

Hello Emailaya,

I have test it but simply can't see this flickering.

If you can send me a small demo project I will fix it for sure, but now until now I never have spot it sad.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#7 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 19 April 2007 - 11:39 PM

hi
as the new design of the posting is really good
its not working too good with firefox
all the attachments part is missing in firefox

just so u'll know

notice to rename the name of the attachment to demo.rar
and open it with winrar

if u hover the mouse over the toolbar buttons
u will see the X button flickers a bit
on my application it flickers even more bcoz there are more components i guess
but the flickers is still shown with the demo
the scrollers (left/right) do not flicker
my guess it is sth to do with the fact that the X button is a bmp

Attached Files

  • Attached File  demo.txt   258.14KB   3 downloads


#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 19 April 2007 - 11:52 PM

Hello Emailaya,

Maybe forum need to be set for RAR files. I will check it now. I am also using FireFox.

I will open your demo now.

----

I have test it and close button definitelly flicker huh.gif , I will now be able to fix it.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 20 April 2007 - 12:04 AM

Hello Emailaya,

Open NxPageControl.pas

Replace next procedure:

CODE
procedure TNxPageControl.CMMouseLeave(var Message: TMessage);
var
  FOldHoverBtn: TPageButton;
begin
  FOldHoverBtn := FHoverButton;
  FHoverButton := pbNone;
  if (FOldHoverBtn <> FHoverButton) then RefreshButton(FOldHoverBtn);
end;


I hope that this is it smile.gif

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#10 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 20 April 2007 - 12:28 AM

yap
that's about it smile.gif
thanks and dont 4get to put it for next release

and try to ask the forum support how to make attachments available also for firefox users smile.gif

#11 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 20 April 2007 - 12:34 AM

Hello Emailaya,

It is included already.

I am using firefox too, but most probably RAR attachments are not well configured.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#12 emailaya

emailaya

    Master Member

  • Members
  • PipPipPipPipPip
  • 984 posts

Posted 20 April 2007 - 12:36 AM

im talking about the exitence of the attachments part where u can upload attachments
this section does not exists in firefox
it does exists in IE




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users