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 


Memo-field: vert. scrollbar not activating [Solved]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
paul44
Expert Cheater
Reputation: 3

Joined: 20 Jul 2017
Posts: 223

PostPosted: Fri Jul 31, 2026 7:02 am    Post subject: Memo-field: vert. scrollbar not activating [Solved] Reply with quote

I have this situation: [ https://ibb.co/jvCmd6mg ]

I've tried to en/disable all sorts of properties for this object (incl ReadOnly off); but no cigar. I did find an article about a (related) bug in Delphi (some years back).
Another article claimed it to be related to used font (in this case: Courier)?

Possible workarounds:
a. "attach" a scrollbar to the memo-object: no idea how to do that
b. embed the memo in a scrollbar object: i think having done this already on another tab, so probably doable

Anyways: before i go into the workaround-ing, there is probably a simple solution to this problem...

Obviously, if one needs more info, just shout.


Last edited by paul44 on Fri Jul 31, 2026 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Fri Jul 31, 2026 7:31 am    Post subject: Reply with quote

set the scrollbar property to "ssBoth" (not autoBoth)
and wordWrap to false

_________________
Tools give you results. Knowledge gives you control.

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

Joined: 20 Jul 2017
Posts: 223

PostPosted: Fri Jul 31, 2026 10:30 am    Post subject: not yet there (nearly there...) Reply with quote

unfortunately, did not work ?

just for completeness sake: (2 related articles i found earlier)
1. stackoverflow: [ https://stackoverflow.com/questions/5091018/enable-scroll-bars-in-disabled-tmemo-control ]
2. freepascal: [ https://forum.lazarus.freepascal.org/index.php?topic=30468.0 ]

and what i can do: memo within scrollbar_object: [ https://ibb.co/27kDhgGC ]
=> do not really like this workaround as you need to drag memo_field past scb-boundaries upto...
==> unless there is a function that allows to get approx. height for a memo-field with "known" width ?! (but still feels messy, me think)

-EDIT-
while making ptrscreens, and doing some other stuff (?) i got it working now ?! And i have no idea why... [ https://ibb.co/whxSDm5y ]

ps: this is done in a test_table, so fingers crossed i can get it working in "live" version as well...

-EDIT2-
The 'Enabled' property flag needs to be set to 'True'; no idea what if flags; nor why it was set to False in the 1st place... kids Rolling Eyes
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 Lua Scripting 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