Es gibt ja:
_IENavigate ($oIE, "http://www.google.de")
_IEAction ($oIE, "back")
_IEAction ($oIE, "forward")
_IEAction ($oIE, "stop")
Gibt es sowas auch zum Seite Aktualisieren?
Ich hoffe es kann mir jemand Helfen!
Es gibt ja:
_IENavigate ($oIE, "http://www.google.de")
_IEAction ($oIE, "back")
_IEAction ($oIE, "forward")
_IEAction ($oIE, "stop")
Gibt es sowas auch zum Seite Aktualisieren?
Ich hoffe es kann mir jemand Helfen!
refresh, steht in der hilfe:
ZitatAlles anzeigenAction Description
"back" Navigates backward one item in the history list.
"blur" Causes the element to lose focus, but does not set focus on the next element in the tab order.
"click" Simulates a click on the specified element.
"copy" Copies the current selection to the clipboard.
"cut" Copies the current selection to the clipboard and then deletes it.
"delete" Deletes the current selection.
"disable" Disables the specified element.
"enable" Enables the specified element.
"focus" Causes the element to receive focus.
"forward" Navigates forward one item in the history list.
"home" Navigates to the current home or start page.
"invisible" Sets an object state to hidden.
"paste" Overwrites the contents of the clipboard on the current selection.
"print" Opens the print dialog box so the user can print the current page.
"printdefault" Print directly to default printer (no dialog)
"quit" Closes the object.
"refresh" Refreshes the current document.
"saveas" Opens a dialog box to save the current Web page to a file.
"search" Navigates to the current search page.
"selectall" Selects the entire document.
"stop" Cancels any pending navigation or download operation and stops any dynamic page elements, such as background sounds and animations.
"unselect" Clears the current selection.
"visible" Sets an object state to visible.
OK Danke !
Habe aber noch eine Frage:
Wie kann muss man es machen, wenn das _IECreateEmbedded() immer so groß wie das GUI Fenster sein soll???
Du meinst glaub ich GUICtrlSetResizing() hier ein Beispiel:
#include <GUIConstants.au3>
#include <IE.au3>
_IEErrorHandlerRegister ()
[/autoit] [autoit][/autoit] [autoit]$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _
(@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
$WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT+$GUI_DOCKRIGHT+$GUI_DOCKTOP+$GUI_DOCKBOTTOM+$GUI_DOCKHCENTER+$GUI_DOCKVCENTER+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT) ; Das meinste wohl
[/autoit] [autoit][/autoit] [autoit]GUISetState() ;Show GUI
[/autoit] [autoit][/autoit] [autoit]_IENavigate ($oIE, "http://www.autoit.de")
[/autoit] [autoit][/autoit] [autoit]While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
GUIDelete()
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]Exit
[/autoit]Danke!
Ich habe noch ein Problem!
Wenn ich jetzt das Fenster vergrößere (an den Ecken an dem GUI Fenster ziehe) bewegen,verzerren sich die Buttons.
Wie muss man es machen ,dass die Buttons sich nicht bewgen bzw verzerren
<==
Kannste Beispielcode posten bitte?