Sign in to follow this  
Followers 0
fi3ldy

Edit Boc styles problem

5 posts in this topic

#1 ·  Posted (edited)

i have my basic guictrlcreatedit box..it has scrollbars vertical and horizontal, is editable by the user and has a border, i need to remove the scrollbars, remove the border if possible (light blue default), and make it readonly.

ive tried a many ways, and im not to sure on how to use Bit functions :whistle:, altho i had a go at BitOr which didnt work for me

also when i have succeeded to an extent, i get problems such as the text box doesnt move up or down as it doesnt have scrollbars, it stays in one position to the other text is not viewable.

i know that must have been boring to read and i appologise but this is really bugging me!!!

any help/advise appriciated. thank you

Edited by fi3ldy

Share this post


Link to post
Share on other sites



Try

$Edit = GUICtrlCreateEdit('',20,20,200,400,0x0800)oÝ÷ Ù©Ýü¨»§¶Ø^µìmqéíz·jëh×6$Edit = GUICtrlCreateEdit('',20,20,200,400,0x0801)oÝ÷ ØêÚºÚ"µÍÌÍÑY]HÕRPÝÜX]QY]
    ÌÎNÉÌÎNË

ÈJoÝ÷ ØêÚºÚ"µÍÌÍÑY]HÕRPÝÜX]QY]
    ÌÎNÉÌÎNË
]ÔJJoÝ÷ ØêÚºÚ"µÍÚ[ÛYH   ÑÕRPÛÛÝ[Ë]LÉÝÂÌÍÑY]HÕRPÝÜX]QY]
    ÌÎNÉÌÎNË
]Ü ÌÍÑT×ÔPQÓK    ÌÍÑT×ÐÑSTJ

I can't remember if that gave me the Vert scroll as required or not and none of the above will remove the border


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

thx for reply. i use just $ES_READONLY or 0x0800, it makes it readonly but the text isnt viewable, asin i cannot see all of the text, only the proportion that is in the box size, the text underneath i am not able to view by dragging the mouse down etc :whistle:

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

see _TargetStyle() in ANYGUI in my signature.

changing styles usually means the control needs repainting(update) to see the change properly.

Edited by quaizywabbit

[u]Do more with pre-existing apps![/u]ANYGUIv2.8

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