Sign in to follow this  
Followers 0
LimeSeed

No Scrollbar and Readonly

2 posts in this topic

How do i create an edit that is readonly, and does not contain a scrollbar?

I know readonly is something like this guictrlcreateedit("text", 10, 10, 10, 10, $EX_READONLY)

but i have no idea about the scrollbar. Thanks!


global $warming = true

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

#include <EditConstants.au3>

GUICreate('Test', 10, 10)
GUICtrlCreateEdit('Text', 10, 10, 10, 10, $ES_READONLY)

You had it right to start off with :)

If you designate style or extended style then the default ones are not used (i believe, may not be 100% correct).

*EDIT*

You had it slightly wrong, it's $ES, not $EX.

Edited by SxyfrG

My scripts:AppLauncherTRAY - Awesome app launcher that runs from the system tray NEW VERSION! | Run Length Encoding - VERY simple compression in pure autoit | Simple Minesweeper Game - Fun little game :)My website

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0