Jump to content

border colors


forever
 Share

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...