Jump to content

TMemo set tab width (tab stops)

Recommended Posts



Like described here :

How to set tab stops in a TMemo


In a TMemo in VCL it's possible to set the tab width using such a code :

Memo1.Perform( EM_SETTABSTOPS, 1, LongInt(@lTabWidth)); 


 SendMessage(Memo1.handled, EM_SETTABSTOPS, 1, Longint(@lTabWidth));


But does it exist a way to do the same on FMX ?

Because if have tried this  :

SendMessage(TWinWindowHandle(Memo1).Wnd, EM_SETTABSTOPS, 1, Longint(@lTabWidth));

Off course only on Windows but it's doesn't work !


I find nothing in Memo1.model.


So does it exists a way to do it on all platforms (IOS, Android, MAcos etc..) ?



Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now