jercfd Posted February 17, 2008 Share Posted February 17, 2008 i am getting some problems with using both the $SS_CENTER and $SS_BLACKFRAME styles with labels in my gui. The $SS_BLACKFRAME is always above everything for some reason $H = GUICtrlCreateLabel("1" & @LF & "H", 10, 10, 30, 40, BitOr($SS_CENTER,$SS_BLACKFRAME)) GUICtrlSetBkColor($H, 0xa0ffa0) Link to comment Share on other sites More sharing options...
rasim Posted February 17, 2008 Share Posted February 17, 2008 What you want? Create rectangle label with text and black border? Link to comment Share on other sites More sharing options...
jercfd Posted February 17, 2008 Author Share Posted February 17, 2008 I want a label with a black border and text centered and have a certain background color. Link to comment Share on other sites More sharing options...
jkotecki Posted April 24, 2008 Share Posted April 24, 2008 I too am having the same problem. Is there a solution? Link to comment Share on other sites More sharing options...
martin Posted April 24, 2008 Share Posted April 24, 2008 I too am having the same problem. Is there a solution?The easiest way I can think of to get a border round a label is to make another label bigger by twice the border width, and set it's style to $WS_CLIPSIBLINGS. You can easily change the colour of the 'border' label to make it flash for attention if you want or hide it. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now