Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Eliminate white border on a trackbar

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Mon Mar 19, 2018 10:33 pm    Post subject: Eliminate white border on a trackbar Reply with quote

Hi there,

When make a track bar and placing on a image as background, it show white border around that track bar when mouse enter on it.

This not happen if track bar placing on form or panel, doesn't matter what form or panel color.

How to eliminating this 'white border' from the track bar placing on a image ?
What is (TControlBorderSpacing) for in CE ?.



Capture.JPG
 Description:
 Filesize:  30.08 KB
 Viewed:  2483 Time(s)

Capture.JPG



_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Mar 20, 2018 4:22 am    Post subject: Reply with quote

It also happens on forms with black backgrounds (when there is more than one control that can take focus)

I think it's a focusrect being drawn, but not sure how to disable that

Quote:

What is (TControlBorderSpacing) for in CE ?.

borderspacing lets you define how far objects should be from eachother when using anchors
This is handy when you design GUI's so they are not affected much by different DPI settings (in a DPI aware GUI all objects are located relative from eachother, so that one control grows due to a bigger font size, the other objects move around it instead of overlapping)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Tue Mar 20, 2018 5:16 am    Post subject: Reply with quote

Quote:
...when there is more than one control that can take focus


So it's about focus and color type, specially in dark color.
It's okay, for now I can use a panel with light color as trackbar background till find something how to correcting this 'white border'.

While hoping maybe in next CE version, trackbar, progressbar and combobox also have color option like other class object like form, panel, editbox, etc.

And thank you for BorderSpacing explanation. I got understood now.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites