Jump to content

EKY32

Active Members
  • Posts

    294
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by EKY32

  1. Thank you Mr.Danyfirex !!! I tried that but it didn't work, maybe because I used another integer ( $Y ). Thank you.
  2. Oh Mr.Mat !! thank you! this is really what I need, thank you both.
  3. I Have this code, I need to hide the scroll bar and I did it, I could make a button to scroll down the page but i couldn't make another to scroll it up, Healp please? #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Text = "Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>Text<br/>" $oIE = ObjCreate("Shell.Explorer.2") $Form1 = GUICreate("Form1", 380, 300) $Label12 = GUICtrlCreateObj($oIE, 10, 10, 353, 259) $oIE.navigate("") $oIE.document.write($Text) $oIE.document.body.scroll = "no" $oIE.document.body.style.borderWidth = 1 $btn = GUICtrlCreateButton("down", 10, 270, 100, 25) $btn2 = GUICtrlCreateButton("up", 250, 270, 100, 25) GUISetState(@SW_SHOW) $x = 1 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $btn $oIE .document.parentWindow.scrollTo(0, $x + 10) $x = $x + 10 Case $btn2 ; scroll up EndSwitch WEnd Thank you.
  4. Thank you Mr.Danyfirex It works great even if the list view is not a (GUICtrlCreateListView).
  5. Is it available to hide a GuiCtrlCreateListView Borders? I hope so Thank you.
  6. Thank you Mr.abberration Thank you all.
  7. In Internet explorer and windows live messenger the menu bar s hidden and it appears when you press alt, it hiding the menu available in AutoIt?! Thank you.
  8. Is it available to scroll the text in the label using the buttons? it will have a long text inside. #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 298, 201, 192, 124) $Label1 = GUICtrlCreateLabel("Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text Long Text END.", 8, 8, 204, 185) $Button1 = GUICtrlCreateButton("Scroll Up", 224, 8, 67, 25) $Button2 = GUICtrlCreateButton("Scroll Down", 224, 168, 67, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Thank you.
  9. Mr.FireFox Thank you very much, thanks to every one who helped.
  10. Thank you, but I see this way is too long! I need a best smart way if any.
  11. I need to insert a point to type a floating-point number, but I also need to deny the user from typing characters.. any help? Thank you. #include <EditConstants.au3> GUICreate("Title", 265, 132) GUICtrlCreateInput("", 32, 32, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER)) GUICtrlCreateLabel("Type 1.25 if you can :'(", 32, 72, 114, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit EndSwitch WEnd
  12. Oh, that's it Mr.UEZ, you are great! SO, locking the GUI solved the problem Thank you!
  13. Well, here is my script.. I found the real problem but I don't get the solution yet. Even when I'm using a huge quantity of items the ListView never flash if it's created in a normal GUI, and the script works fine, BUT, When I create the ListView in a TabItem.., the ListView starts flickering when I select the "Show All" string from the ComboBox (Means when loading all the items from the database), so how to fix that? Thank you. The Script File: Products.zip
  14. I'm sorry, I was getting a network error, so the topic had been posted many times. I'm sorry again, i mean i need to collect the columns' values.
  15. How can get the result of column's values? Student | Mark ------------------- St1 | 5 St2 | 9 St3 | 10 St4 | 1 St5 | 5 I need the result to show me number (30) , collecting the marks, thank you.
  16. Well, is that really unreachable? should I lose hope to fix this problem? Thank you.
  17. I have an external embedded IE Control in a window, I'm available to control the IE control using ControlHide, ControlMove, .... Is it available to send message to that control? like saving? The problem is the loaded page has a java-script command that disables the right-click menu in the IE control, so is there any way to save the loaded page some how?
  18. Sorry, neither disabling nor hiding the listview stopped flickering the window, any other ideas please? OK, I'm sorry I annoyed you sir
  19. Well, this script looks good, i'll find a way to combine it with mine. Mr.Melba23, I have a compo box as a filter for the list view items, so when i choose a string from it, it must delete all the items of the list and get them again filtered from the database.. is it really that bad? i must disable or hide the list view? I'll try the script czardas gave me, then get back again, thank you.
  20. I have a GuiCtrlCreateListView, and a database with a huge quantity of rows, the scripts loads the data from the database to the list view (GuiCtrlCreateListViewItem), so it makes the window flashes and very slow, so I used _GUICtrlListView_BeginUpdate and _GUICtrlListView_EndUpdate it helped a bit, but the window still flashes as i need to recall the listing func each minute. Is there any way to fix that please? Thank you.
  21. Well, thank you Mr CaptainClucks, it works fine now. Yes i noticed that as I paid attention to the window's frame Thank you.
  22. Solved like so: Run('rundll32 printui.dll,PrintUIEntry /p /n"' & @ComputerName & '' & GUICtrlRead($Printers_List) & '"') Replace GUICtrlRead($Printers_List) with your printer's name. You can use the command "printui" running it from Command Prompt (DOS) and see a HUGE quantity of printing options! Thank You, Me.
×
×
  • Create New...