Jump to content
Sign in to follow this  
forever

border colors

Recommended Posts

forever

How to give an edit, label & treeview a border, and how to set its color?

Share this post


Link to post
Share on other sites
quaizywabbit

i think he's referring to color "highlighting", similar to what AutoIt Window Info tool does.


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

Share this post


Link to post
Share on other sites
Holger

You can do some GUI-draw-things with the beta version, like:

#include <GUIConstants.au3>

$gui = GUICreate("Test")

$tree = GUICtrlCreateTreeView(10, 10, 150, 150)
$item = GUICtrlCreateTreeViewItem("Item",$tree)

$graph = GUICtrlCreateGraphic(8, 8)
GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xC00000); set the border color to 'red'
GUICtrlSetGraphic(-1, $GUI_GR_RECT, 0, 0, 153, 153)

GUISetState()

Do
    $msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE

See also "GUICtrlSetGraphic" at the GUI-section in the helpfile.

Regards

Holger

Share this post


Link to post
Share on other sites
layer

I've mad an edge control before... It was before we had GUICtrlCreateGraphic :whistle:


FootbaG

Share this post


Link to post
Share on other sites
forever

Okay, CreateGraphic Rect. will help i think, but how can i remove the border from a label? So that they are "invisible" and only the graphic-rect is shown?

and:

is there a way to style the scrollbar? like in the IE or so?

update:

is it not possible to draw graphics(rects) in tabs?

I tried this in the normal way i'd create a control in a tab, it appears behind it?why?

Edited by forever

Share this post


Link to post
Share on other sites
Josbe

Okay, CreateGraphic Rect. will help i think, but how can i remove the border from a label? So that they are "invisible" and only the graphic-rect is shown?

and:

is there a way to style the scrollbar? like in the IE or so?

update:

is it not possible to draw graphics(rects) in tabs?

I tried this in the normal way i'd create a control in a tab, it appears behind it?why?

<{POST_SNAPBACK}>

1. Style like IE, I don't think.

2. Graphics over Tabs

Share this post


Link to post
Share on other sites
forever

1. if you say "style like IE" not possible, is it possible to design it a little bit?

2. So its limited :whistle: will this be fixed in the next beta?

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  

×