Jump to content
Sign in to follow this  
Pook

GUICtrlCreateLabel Question

Recommended Posts

Okay.. My program is working fine but I have a little problem. I've been asked me make it so that users can highlight & copy the information. I've been looking at some posts, but I can't find anything about this. (Or I'm not looking in the right place) Any idea on how I can do this with out alot of code changes

Example of code now:

GUICtrlCreateLabel('' & $UserObj.Department, 100, 90, 200, 20)

GUICtrlCreateLabel('' & $UserObj.TelephoneNumber, 100, 110, 300, 20)

GUICtrlCreateLabel('' & $UserObj.TelephoneMobile, 100, 130, 300, 20)

GUICtrlCreateLabel('' & $UserObj.HomeDirectory, 100, 200, 350, 20)

GUICtrlCreateLabel('' & $UserObj.EmailAddress, 100, 160, 350, 20)

Share this post


Link to post
Share on other sites

Okay.. My program is working fine but I have a little problem. I've been asked me make it so that users can highlight & copy the information. I've been looking at some posts, but I can't find anything about this. (Or I'm not looking in the right place) Any idea on how I can do this with out alot of code changes

Example of code now:

GUICtrlCreateLabel('' & $UserObj.Department, 100, 90, 200, 20)

GUICtrlCreateLabel('' & $UserObj.TelephoneNumber, 100, 110, 300, 20)

GUICtrlCreateLabel('' & $UserObj.TelephoneMobile, 100, 130, 300, 20)

GUICtrlCreateLabel('' & $UserObj.HomeDirectory, 100, 200, 350, 20)

GUICtrlCreateLabel('' & $UserObj.EmailAddress, 100, 160, 350, 20)

GUICtrlCreateinput('' , 10, 90, 200, 20,$ES_READONLY,0x00000000)

Share this post


Link to post
Share on other sites

GUICtrlCreateinput('' , 10, 90, 200, 20,$ES_READONLY,0x00000000)

Thanks that works!!!!!!!!!!!!!!!!!!!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...