Guest Onichi Posted July 24, 2004 Share Posted July 24, 2004 I have a very neat GUI with a lot of grouping objects. Whenever I try to run GUIWrite($some_label, 0, "Blah") or GUISetControl($some_label, "Blah", -1, -1), in order to change a label's message, the size of the label changes greatly and cuts through the grouping objects destroying the GUI's look. I was wondering if there is some style I have to apply to prevent this, I tried the static size one with Global $GUI_DOCKSIZE = 768; GUISetControlEX($some_label, 0, $GUI_DOCKSIZE) but it still didnt work. Also, is there anyway to get the full path of an object from the file handle? Since there isn't an inbuilt command like FileFlushBuffer($file_handle) I decided to create one myself like this : Func FileFlushBuffer($old_file_handle, $file_path) FileClose($old_file_handle); return FileOpen($file_path, 1); EndFunc So I could do something like this: $file_handle = FileFlushBuffer($file_handle, $filepath); Any other ways to do this that would only take the $file_handle parameter ? Even though this method works fine, it would eliminate another variable from my program. 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