blitzkrg Posted June 11, 2005 Posted June 11, 2005 (edited) i was just wondering if someone could offer some suggestions for me. i'm working on a program and have created several buttons. (save, clear and exit) on my laptop the control ID for the clear button is 30, but when i load the same exact script on my main PC it shows the control ID as 28 the problem is i have alot of functions that make modifications to specific control ID's so with this changeing, this causes me a problem.. any idea why this happens? should i try to use the classnameNN instead? thanks Edited June 11, 2005 by blitzkrg
GaryFrost Posted June 11, 2005 Posted June 11, 2005 If you create the controls and assign the controlid to a variable you won't have to worry about it being different. for example $lbl_status = GUICtrlCreateLabel ("Done", 10, 30, 50) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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