Azazel Posted November 1, 2005 Share Posted November 1, 2005 I have make a script with some labels and edits, and i need to move verticaly the GUI witch is bigger than the screen. I post the code, can you help me plz. expandcollapse popup#include <GUIConstants.au3> #include <date.au3> Opt("WinTitleMatchMode",2) opt("TrayIconDebug",1) GUICreate("Rapport d'intervention N° "&"JE1000",800,1000,100,5,BitOR($WS_OVERLAPPEDWINDOW,$WS_VSCROLL)) GUICtrlCreateLabel("Client : ",10,13,60,20) $edit_client=GUICtrlCreateEdit("",80,10,102,20,$WS_CHILD) GUICtrlCreateLabel("Contact : ",200,13,60,20) $edit_contact=GUICtrlCreateEdit("",252,10,200,20,$WS_CHILD) GUICtrlCreateLabel("Numéro de commande : ",480,13,115,20) $edit_cde=GUICtrlCreateEdit("",605,10,125,20,$WS_CHILD) GUICtrlCreateLabel("Adresse : ",10,43,60,20) $edit_adresse=GUICtrlCreateEdit("",80,40,372,60,BitOR($ES_MULTILINE,$ES_WANTRETURN)) GUICtrlCreateLabel("Type de CN : ",10,123,70,20) $edit_cn=GUICtrlCreateEdit("",155,120,75,20,$WS_CHILD) GUICtrlCreateLabel("Numéro de CN : ",305,123,80,20) $edit_num_cn=GUICtrlCreateEdit("",425,120,125,20,$WS_CHILD) GUICtrlCreateLabel("Type et marque de machine : ",10,153,200,20) $edit_machine=GUICtrlCreateEdit("",155,150,125,20,$WS_CHILD) GUICtrlCreateLabel("Numéro de machine : ",305,153,200,20) $edit_num_machine=GUICtrlCreateEdit("",425,150,125,20,$WS_CHILD) GUICtrlCreateGroup("ALARME / PROBLEME : ",10,190,610,270) $edit_pb=GUICtrlCreateEdit("",20,210,588,240,BitOR($ES_MULTILINE,$ES_WANTRETURN)) GUICtrlCreateLabel("Informations bureau : ",10,473,200,20) $edit_infos_1=GUICtrlCreateEdit("",125,470,534,20,$WS_CHILD) $edit_infos_2=GUICtrlCreateEdit("",125,488,588,20,$WS_CHILD) GUICtrlCreateGroup("Group2 : ",10,530,610,270) $edit_pb2=GUICtrlCreateEdit("",20,560,588,240,BitOR($ES_MULTILINE,$ES_WANTRETURN)) GUISetState (@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend thx Link to comment Share on other sites More sharing options...
BigDod Posted November 1, 2005 Share Posted November 1, 2005 I have searched the forum and as far as I can see you cannot scroll a GUI.See this topic Here Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Azazel Posted November 1, 2005 Author Share Posted November 1, 2005 Thanks BigDod, that was not the answer i was hope but if it's not possible, i will try to do another way. Thanks you again... Aza Link to comment Share on other sites More sharing options...
BigDod Posted November 1, 2005 Share Posted November 1, 2005 Thanks BigDod, that was not the answer i was hope but if it's not possible, i will try to do another way.Thanks you again...AzaIf you read the topic that I pointed you to you will see that they tried a work around using a slider bar. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 1, 2005 Moderators Share Posted November 1, 2005 I saw this post last night and tried the slide bar too, anyone thought of embedding the GUI into a large Edit Box & $ES_PASSWORD to make it look like the regular background? Maybe AnyGUI could be used for this? I don't know, hadn't tried, just a thought. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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