Jump to content


Photo

Column color when selected?


  • Please log in to reply
17 replies to this topic

#1 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 23 September 2021 - 10:54 AM

Hi Bojan,

 

With latest version I get strange color when selected Grid title column?

 

I want it to be black like the others?

 

What must i add property?

 

Happend when I select column and if i select song color is back to normal black

 

See Attach File

 

Regards,

Eduard.

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 23 September 2021 - 11:21 AM

Hello Eduard,

 

Pretty weird, I will fix it now. 


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.

#3 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 23 September 2021 - 01:24 PM

Hello Eduard,

 

Pretty weird, I will fix it now. 

Also my Hand cursor is not working anymore. Use it for touchscreen. Did you reset cursor?



#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 24 September 2021 - 05:16 PM

Can you tell me little bit more about the cursor. I have added property that every column can have own custor, but it still work in my tests if you have set the global one.


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 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 24 September 2021 - 05:17 PM

Hi,

 

I was investigating the header color issue.

 

Can you please tell me did you set Style to stUserDefined? In that case, there is a new property HeaderPressedColor inside UserDefinedColorPalette which you can set to desired color. I hope that this is was the issue.


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.

#6 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 24 September 2021 - 07:27 PM

NextGrid.Style := stNative;
NextGrid.AppearanceOptions := [aoStyleColors, aoAlternatingRowColors];
NextGrid.StyleOptions := [soVCLStyles];
NextGrid.StyleElements := [];

This i my NextGrid style code. I don't know what to do.

As you can see i don't use StyleElements. Maybe this is the issue?

 

 

And about the cursor:

If I click somewhere in the NextGrid the cursor is changed to crHandPoint (OnMouseDown) for 5 seconds so the user can copy selected song like kind of touchscreen.

With your new version the cursor is reset to crDefault i think. I don't like that :o
 



#7 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 24 September 2021 - 09:01 PM

Hi,

 

Can you build for me very small demo project with these 2 bugs. I have problem understanding the one with cursors :( .


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.

#8 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 24 September 2021 - 09:21 PM

The Cursor problem is this one: NxGridview6 (line 3345)

 

SetScreenCursor(Columns[FHotCell.X].Cursor);

 

This is what I do, something like this:

 

procedure TfrmPlaylist.NextGridBrowserMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
  Screen.Cursor := crHandPoint;
end;

 

But you automatically set this to default.

What i want is maybe property true/false for SetScreenCursor(Columns[FHotCell.X].Cursor);

I think now you understand it better :)

 

Hope you can fix colors too.

 



#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 September 2021 - 12:02 AM

Unfortunately I can't reproduce problem with a header. Can you send me small demo (or dfm file) with properties set. I'm not sure that you are maybe using custom theme.


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 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 25 September 2021 - 07:30 AM

I couldn't reproduce anything here either.

But saw that I still used Custom colors later in the source. 

So problem is solved.  :) 

 

Do you still want to look at Cursor solutions?



#11 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 25 September 2021 - 12:47 PM

Cursor line 3897 is also not good for me.

 

end else
    begin
      Unset(FHotCell);
// AND THIS ONE-   SetScreenCursor(crDefault);
    end;


#12 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 26 September 2021 - 10:45 AM

Do you understand? 



#13 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 26 September 2021 - 10:55 AM

Yes, I will try to find the solution.


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.

#14 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 26 September 2021 - 01:42 PM

Thanks :)



#15 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 10 November 2021 - 04:58 PM

Hi Boki,
 
Have you been able to solve the Cursor problem yet?
No rush, just thought of it.
 
Greetings,
Eduard.


#16 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 15 November 2021 - 12:36 AM

Hello Eduard,

 

Not yet unfortunately. I need to finish some things first.


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.

#17 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 18 February 2022 - 02:26 PM

And up we go :-) 

 

I don't see a solution yet. When are you going to fix this?

 

Regards,

Eduard.



#18 DelphiToday

DelphiToday
  • Members
  • 146 posts
  • Gender:Male

Posted 21 February 2022 - 07:55 AM

Have you been able to solve the Cursor problem yet??

you don't response so don't know what to do. 

 

Regards,

Eduard.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users