Jump to content

Multiple styles per label/button/etc?


Recommended Posts

Is it possible to combine different styles on the same label/button/edit/etc? :)

I'd like the text centered: $SS_CENTER

And to have a black border: $SS_BLACKFRAME

I've tried having them using the following syntax, but it fails to accomplish desired results:

$Label = GUICtrlCreateLabel ( "Agents", 5, 5, 9, 9, $SS_CENTER & $SS_BLACKFRAME)

Any Ideas?

Van Renier

vanrenier AT hotmail . com

Link to comment
Share on other sites

$Label = GUICtrlCreateLabel ( "Agents", 5, 5, 9, 9, BitOR($SS_CENTER, $SS_BLACKFRAME) )

<{POST_SNAPBACK}>

Larry,

When I use that syntax, the text is no longer visible within.

(the above X,Y, and sizes are examples, not absolute)

without both styles, the text shows, but with the styles they don't .

I even increased the dimensions of the control/label to ensure it has enough room.

Any suggestions?

Van

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...