#8 peter
Týjo, už jsem na to přišel! Chyba byla jinde v kódu. Já jsem na tom pracoval pár měsíců zpátky a proto jsem si moc nepamatoval, co jsem kam zapisoval, ale našel jsem část kódu, která se mi nějak nezdála, tak jsem ji zkusil odmazat a už to zatím funguje v pořádku. Nicméně i tak děkuji za pomoc a rady!
Příspěvky odeslané z IP adresy 46.33.103.–
#5 peter
Aha, děkuji za konstruktivní příspěvek, už se do toho trochu dostávám, nejsem žádný expert. Podle toho kódu na testování to opravdu funguje, takže bude chyba někde v kódu, který zajišťuje řazení. Měl jsem pocit, že se to mohlo řadit, ještě podle nějakých id produktů (každá položka má své ID), takže se na to dneska podívám a zkusím něco najít.
Jinak ten kód, co jsem vložil je akorát k tomu, aby člověk zvolil jaké chce řazení. Hodnoty, podle kterých se to má řadit jsou uloženy ve "value".
Zdravím, upravuji web postavený na opencartu a dodělávám pár řazení dle různých parametrů, ale nedaří se mi. Mám v mysql zapsané číselné hodnoty ve formátu float, většina jsou celá čísla, ale mám i pár desetinných čísel (konkrétně 0,10; 0,25; 0,70). PHP kód jsem se snažil začlenit podle stávajícího kódu řazení a téměř vše funguje, ale pořád se mi zobrazuje, že číslo 0,25 je údajně vyšší jak číslo 0,10, jinak celá čísla se řadí dobře. Nevíte, čím by to mohlo být?
Pokud budete potřebovat nějaký kód, tak se ozvěte. Zatím přikládám jen část, která je upravená podle původního kódu.
Děkuji
$data['sorts'][] = array(
'text' => $this->language->get('text_prostorftp_asc'),
'value' => 'p.prostor_ftp-ASC',
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '&sort=p.prostor_ftp&order=ASC' . $url)
);
Jsem čiště začátečník, kterej začíná nejen s wordpressem, ale taky s php, takže vím, že tam jsou chyby. Ale děkuju az radu, už jsem to vyřešil.
Zdravím, na wordpressu mám plugin mingle, který z webu dává funkce sociální sítě (uživ. profil, chat, atd.) a potřeboval jsem do údajů uživatele dodělat datum narozeni a k tomu nastavní soukromí, tj. viditelné pro všechny, nebo viditelné pouze pro přátelé. To jsem udělal pomocí funkce a funguje to, ale když se nějaký uživatel podívá na profil jiného, tak se tam má vypsat to datum narození, co si nastavil. A to funguje pouze v případě, že je soukromí data narození nastaveno na veřejné, ale pokud je datum narození privátní, tak se nezobrazí. Celkem težko se to vysvětluje. Přikládám zdrojový kód.
http://pastebin.com/xCwkGv2X Odkaz na část kódu, která zajišťuje kontrolu nastavení profilu a vypsaní data. Když jsou uživatelé přátelé a datum je privátní, tak se zobrazí "Datum narození:Privátní, ale přátelé,zobrazit datum", ale už se nevypíše proměnná, která je pod tím ($user->birthday). A když mám vypsání té proměnné mimo funkci, tak to normálně funguje. Nevíte, čím to může být? Zkoušel jsem do global dostat ruzné věci, ale pořád nic.
A tady je část, která zpracovává datum http://pastebin.com/zRBkk8pp
Děkuju za každou radu.
Používám filezillu, aktualizovanou a hesla jsem měnil.
Dobrý den, minulý týden, 11.6 mi došel mail od googlu, že můj web obsahuje malware.Ten týden jsem nebyl vůbec doma, takže jsem na web nic nepřidával, neměnil.Web mám už nějakou dobu zaregistrovaný u googlu ( webmaster tools,analytics,..) a dřív to šlo úplně v pohodě. Zálohu bohužel nemám, pc jsem vyčistil esetem, zkoušel jsem i projít source code webu a nikde jsem nenašel žádné nevyžádané odkazy,iframe,ap. Nevíte, jak to opravit? Zkoušel jsem i virustotal webu a tam hlásí jen nějaké napadení google safebrowsing a Sophos. Tady je odkaz na virustotal https://www.virustotal.com/cs/url/814719d878a477b787... a url webu je http://www.mirah-glasses.com Děkuji
#2 noris
Tady to vím, ale jde o to, že k té základní ceně se přičítá hodnota prvku navoleného v select. A já nevím, jak mám udělat to, aby se k té základní ceně přičetla cena toho navoleného předmětu v select.
$skla = $_POST ['skla'];
$nosniky = $_POST ['nosniky'];
$zakladni_cena = 2800;
U select s name "skla" může vybírat ze 3 možností - čirá(0kč), sluneční(50kč), dioptrická(100kč)
U select s name "nosniky" může vybírat ze 2 možností - dřevěné(0kč), silikonové(50kč)
A jak mám udělat, aby se tam přičetla přesně ta cena možnosti, kterou si zvolí?
$cena = $zakladni_cena + $skla + $nosniky
Dobrý den, s php a js nemám vcelku žádnou zkušenost, proto se obracím na toto fórum s prosbou o radu,popř. nakódování.Na jedné stránce mám ve formuláři select s výběrem a po odeslání mě to přesměruje na další stránku, kde bych potřeboval udělat vypsání zvolených hodnot ze select. To mám udělané pomocí $_POST, ale pak bych tam potřeboval vložit i celkovou, konečnou cenu a s tím už mám problém. Každá možnost ze select má nějakou svou cenu + je nějaká základní cena.Příklad: $zakladni_cena = 2800; takže základní cena je 2800 a k tomu bych potřeboval podle zvolené možnost přičíst danou hodnotu do $cena = $zakladni_cena + ??Děkuju za každou radu. Ještě přikládám kód.
P.S Pokud si myslíte, že v JS by to šlo líp tak klidně, ale hlavně potřebuji to nějak udělat.A hledal jsem, ale nic moc jsem nenašel, kdyžtak bych potřeboval příklad. Děkuju
Tak nějak jsem to zkoušel..
<?php
$skla = $_POST ['skla'];
$nosniky = $_POST ['nosniky'];
$kusu = $_POST ['kusu'];
$zakladni_cena = 2800;
$cena = ($zakladni_cena +) * $kusu;
?>
<label for="model">Model:</label>
<input class="form" type="text" name="model" id="form" value= />
<label for="skla">Skla:</label>
<input class="form" type="email" name="skla" id="form" value=<?=htmlentities($_POST["skla"]) ?> disabled />
<label for="nosniky">Nosníky:</label>
<input class="form" type="text" name="nosniky" id="form" value=<?=htmlentities($_POST["nosniky"]) ?> disabled />
<label for="barvy">Barevná kombinace:</label>
<input class="form" type="text" name="barvy" id="form" value=<?=htmlentities($_POST["barvy"]) ?> disabled />
<label for="kusu">Kusů:</label>
<input class="form" type="text" name="kusu" id="kusu" value=<?=htmlentities($_POST["kusu"]) ?> disabled />
<label for="cena">Cena:</label>
<input class="form" type="text" name="cena" id="form" value="<? echo $cena ?> Kč" disabled />
Jo jasně,už to mám,mockrát děkuji .Snad se aspoň něco málo přiučím
Dobrý den,snažím se udělat nastavení pro jednu hru.Spočívá to v tom,že při spuštění hry-patcher, mám možnost kliknout na "nastavení".Potřeboval bych si toto nastavení udělat podle sebe-design,atd.Na jednom zahraničním fóru jsem našel source k tomuto nastavení.Říkám:"Fajn,to potřebuji".Po nějaké delší době jsem zjistil,že vlastně vůbec nevím,co je to za jazyk,jaký program použít,ap. Z toho skriptu jsem tak nějak(možná dobře) pochopil, že se jedná o tzv. GUI.V onom threadu byl ten skript a ještě něco pod názvem "Alte Kfx für Designen" -Všechny .Kfx pro design(soubor má příponu .kxf) .Zkoušel jsem tento skript dávat do Visual c#, c++, vb, netbeans, ale prostě mi to nějak nešlo.Chápu,kopírováním se nic nenaučím,ale opravdu nemám moc času abych to mohl studovat.Potřebuji to jenom jako kostru.Většinu budu ještě upravovat.Tedy, potřebuji po vás radu,v jakém programu,co je to vůbec za jazyk,popř. jak vůbec to udělat.Přikládám skript i z .kxf.Mockrát děkuji a berte prosím vás v potaz,že jsem opravdu začátečník
Údajný skript toho nastavení
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <SliderConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$GUI = GUICreate("CONFIG", 500, 309, 347, 409)
$GroupDisplay = GUICtrlCreateGroup("Display", 16, 8, 225, 121)
$LabelAuflosung = GUICtrlCreateLabel("Auflösung", 32, 36, 51, 17)
$ComboAuflosung = GUICtrlCreateCombo("800x600 32bpp", 104, 32, 105, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1024x768 32bpp|1152x864 32bpp|1280x720 32bpp|1280x768 32bpp|1280x800 32bpp|1280x960 32bpp|1280x1024 32bpp")
GUICtrlSetData(-1, "800x600 16bpp|1024x768 16bpp|1152x864 16bpp|1280x720 16bpp|1280x768 16bpp|1280x800 16bpp|1280x960 16bpp|1280x1024 16bpp")
$LabelFrequenz = GUICtrlCreateLabel("Frequenz", 32, 68, 48, 17)
$ComboFrequenz = GUICtrlCreateCombo("", 104, 64, 105, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GuiCtrlSetData(-1,"75|60","75")
$LabelGamma = GUICtrlCreateLabel("Gamma", 32, 96, 40, 17)
$ComboGamma = GUICtrlCreateCombo("1", 104, 96, 105, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1,"2|3|4|5|6")
$GroupWindowMode = GUICtrlCreateGroup("Window Mode", 256, 8, 233, 57)
$RadioFenstermodus = GUICtrlCreateRadio("Fenstermodus", 272, 32, 89, 17)
$RadioVollbildmodus = GUICtrlCreateRadio("Vollbildmodus", 368, 32, 97, 17)
$GroupIMEMode = GUICtrlCreateGroup("IME Mode", 256, 72, 233, 57)
$RadioGAMEIME = GUICtrlCreateRadio("GAME IME", 272, 96, 81, 17)
$RadioExternalIME = GUICtrlCreateRadio("External IME", 368, 96, 89, 17)
$GroupSound = GUICtrlCreateGroup("Sound", 16, 136, 225, 81)
$LabelMusik = GUICtrlCreateLabel("Musik", 32, 160, 32, 17)
$LabelSFX = GUICtrlCreateLabel("SFX", 32, 192, 24, 17)
$EditMusik = GUICtrlCreateEdit("0", 88, 160, 17, 17, $ES_WANTRETURN)
$EditSFX = GUICtrlCreateEdit("0", 88, 192, 17, 17, $ES_WANTRETURN)
$SliderMusik = GUICtrlCreateSlider(120, 152, 102, 29, BitOR($GUI_SS_DEFAULT_SLIDER,$TBS_BOTH,$TBS_NOTICKS))
GUICtrlSetLimit(-1, 5, 0)
$SliderSFX = GUICtrlCreateSlider(121, 185, 102, 29, BitOR($GUI_SS_DEFAULT_SLIDER,$TBS_BOTH,$TBS_NOTICKS))
GUICtrlSetLimit(-1, 5, 0)
$GroupGFX = GUICtrlCreateGroup("GFX", 256, 136, 233, 129)
$LabelFOG = GUICtrlCreateLabel("FOG", 264, 160, 26, 17)
$ComboFOG = GUICtrlCreateCombo("Near", 384, 156, 89, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GuiCtrlSetData(-1,"Mid|Far")
$LabelTNL = GUICtrlCreateLabel("TNL", 264, 196, 25, 17)
$ComboTNL = GUICtrlCreateCombo("Auto", 384, 192, 89, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1,"CPU|GPU")
$LabelSchatten = GUICtrlCreateLabel("Schatten", 264, 236, 47, 17)
$ComboSchatten = GUICtrlCreateCombo("None", 384, 232, 89, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1,"Background|Background+Player|All")
$CheckUseSoftwarecursor = GUICtrlCreateCheckbox("Use Software cursor", 32, 232, 137, 17)
$ButtonUbernehmen = GUICtrlCreateButton("Ubernehmen", 152, 272, 83, 25)
$ButtonAbbrechen = GUICtrlCreateButton("Abbrechen", 256, 272, 83, 25)
_ReadToConfig()
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $SliderMusik
GuiCtrlSetData($EditMusik,GuiCtrlRead($SliderMusik))
Case $SliderSFX
GuiCtrlSetData($EditSFX,GuiCtrlRead($SliderSFX))
Case $ButtonAbbrechen
Exit
Case $ButtonUbernehmen
$F = FileOpen("metin2.cfg",2)
_SetAuflosung()
_SetFrequenz()
_SetCursor()
_SetFog()
_SetTNL()
_SetSchatten()
_SetMusik()
_SetSFX()
_SetGamma()
_SetWindowMode()
_SetIMEMode()
Exit
EndSwitch
WEnd
Func _ReadToConfig()
$D = "metin2.cfg"
$File = FileOpen("metin2.cfg")
If FileReadLine($File,1) = "WIDTH 800" And FileReadLine($File,2) = "HEIGHT 600" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"800x600 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 800" And FileReadLine($File,2) = "HEIGHT 600" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"800x600 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1024" And FileReadLine($File,2) = "HEIGHT 768" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1024x768 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1024" And FileReadLine($File,2) = "HEIGHT 768" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1024x768 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1152" And FileReadLine($File,2) = "HEIGHT 864" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1152x864 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1152" And FileReadLine($File,2) = "HEIGHT 864" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1152x864 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 720" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x720 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 720" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1280x720 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 768" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x768 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 768" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1280x768 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 800" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x800 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 800" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1280x800 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 960" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x960 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 960" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1280x960 16bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 960" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x960 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 1024" And FileReadLine($File,3) = "BPP 32" Then
GuiCtrlSetData($ComboAuflosung,"1280x1024 32bpp")
Endif
If FileReadLine($File,1) = "WIDTH 1280" And FileReadLine($File,2) = "HEIGHT 1024" And FileReadLine($File,3) = "BPP 16" Then
GuiCtrlSetData($ComboAuflosung,"1280x1024 16bpp")
Endif
If FileReadLine($File,4) = "FREQUENCY 75" Then
GuiCtrlSetData($ComboFrequenz,"75")
EndIf
If FileReadLine($File,4) = "FREQUENCY 60" Then
GuiCtrlSetData($ComboFrequenz,"60")
EndIf
If FileReadLine($File,5) = "SOFTWARE_CURSOR 1" Then
GuiCtrlSetState($CheckUseSoftwarecursor,$GUI_CHECKED)
EndIf
If FileReadLine($File,6) = "VISIBILITY 1" Then
GuiCtrlSetData($ComboFOG,"Near")
EndIf
If FileReadLine($File,6) = "VISIBILITY 2" Then
GuiCtrlSetData($ComboFOG,"Mid")
EndIf
If FileReadLine($File,6) = "VISIBILITY 3" Then
GuiCtrlSetData($ComboFOG,"Far")
EndIf
If FileReadLine($File,7) = "SOFTWARE_TILING 0" Then
GuiCtrlSetData($ComboTNL,"Auto")
EndIf
If FileReadLine($File,7) = "SOFTWARE_TILING 1" Then
GuiCtrlSetData($ComboTNL,"CPU")
EndIf
If FileReadLine($File,7) = "SOFTWARE_TILING 2" Then
GuiCtrlSetData($ComboTNL,"GPU")
EndIf
If FileReadLine($File,8) = "SHADOW_LEVEL 0" Then
GuiCtrlSetData($ComboSchatten,"None")
EndIf
If FileReadLine($File,8) = "SHADOW_LEVEL 1" Then
GuiCtrlSetData($ComboSchatten,"Background")
EndIf
If FileReadLine($File,8) = "SHADOW_LEVEL 2" Then
GuiCtrlSetData($ComboSchatten,"Background+Player")
EndIf
If FileReadLine($File,8) = "SHADOW_LEVEL 3" Then
GuiCtrlSetData($ComboSchatten,"All")
EndIf
If FileReadLine($File,9) = "MUSIC_VOLUME 1" Then
GuiCtrlSetData($SliderMusik,"1")
GuiCtrlSetData($EditMusik,"1")
EndIf
If FileReadLine($File,9) = "MUSIC_VOLUME 2" Then
GuiCtrlSetData($SliderMusik,"2")
GuiCtrlSetData($EditMusik,"2")
EndIf
If FileReadLine($File,9) = "MUSIC_VOLUME 3" Then
GuiCtrlSetData($SliderMusik,"3")
GuiCtrlSetData($EditMusik,"3")
EndIf
If FileReadLine($File,9) = "MUSIC_VOLUME 4" Then
GuiCtrlSetData($SliderMusik,"4")
GuiCtrlSetData($EditMusik,"4")
EndIf
If FileReadLine($File,9) = "MUSIC_VOLUME 5" Then
GuiCtrlSetData($SliderMusik,"5")
GuiCtrlSetData($EditMusik,"5")
EndIf
If FileReadLine($File,10) = "VOICE_VOLUME 1" Then
GuiCtrlSetData($SliderSFX,"1")
GuiCtrlSetData($EditSFX,"1")
EndIf
If FileReadLine($File,10) = "VOICE_VOLUME 2" Then
GuiCtrlSetData($SliderSFX,"2")
GuiCtrlSetData($EditSFX,"2")
EndIf
If FileReadLine($File,10) = "VOICE_VOLUME 3" Then
GuiCtrlSetData($SliderSFX,"3")
GuiCtrlSetData($EditSFX,"3")
EndIf
If FileReadLine($File,10) = "VOICE_VOLUME 4" Then
GuiCtrlSetData($SliderSFX,"4")
GuiCtrlSetData($EditSFX,"4")
EndIf
If FileReadLine($File,10) = "VOICE_VOLUME 5" Then
GuiCtrlSetData($SliderSFX,"5")
GuiCtrlSetData($EditSFX,"5")
EndIf
If FileReadLine($File,11) = "GAMMA 1" Then
GuiCtrlSetData($ComboGamma,"1")
EndIf
If FileReadLine($File,11) = "GAMMA 2" Then
GuiCtrlSetData($ComboGamma,"2")
EndIf
If FileReadLine($File,11) = "GAMMA 3" Then
GuiCtrlSetData($ComboGamma,"3")
EndIf
If FileReadLine($File,11) = "GAMMA 4" Then
GuiCtrlSetData($ComboGamma,"4")
EndIf
If FileReadLine($File,11) = "GAMMA 5" Then
GuiCtrlSetData($ComboGamma,"5")
EndIf
If FileReadLine($File,11) = "GAMMA 6" Then
GuiCtrlSetData($ComboGamma,"6")
EndIf
If FileReadLine($File,12) = "WINDOWED 0" Then
GuiCtrlSetState($RadioVollbildmodus,$GUI_Checked)
EndIf
If FileReadLine($File,12) = "WINDOWED 1" Then
GuiCtrlSetState($RadioFenstermodus,$GUI_Checked)
EndIf
If FileReadLine($File,13) = "USE_DEFAULT_IME 0" Then
GuiCtrlSetState($RadioGAMEIME,$GUI_Checked)
EndIf
If FileReadLine($File,13) = "USE_DEFAULT_IME 1" Then
GuiCtrlSetState($RadioExternalIME,$GUI_Checked)
EndIf
EndFunc
Func _SetAuflosung()
Switch GuiCtrlRead($ComboAuflosung)
Case "800x600 32bpp"
FileWrite("metin2.cfg","WIDTH 800" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 600" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1024x768 32bpp"
FileWrite("metin2.cfg","WIDTH 1024" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 768" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1152x864 32bpp"
FileWrite("metin2.cfg","WIDTH 1152" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 864" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1280x720 32bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 720" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1280x768 32bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 768" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1280x800 32bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 800" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1280x960 32bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 960" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "1280x1024 32bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 1024" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
Case "800x600 16bpp"
FileWrite("metin2.cfg","WIDTH 800" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 600" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1024x768 16bpp"
FileWrite("metin2.cfg","WIDTH 1024" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 768" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1152x864 16bpp"
FileWrite("metin2.cfg","WIDTH 1152" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 864" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1280x720 16bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 720" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1280x768 16bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 768" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1280x800 16bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 800" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1280x960 16bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 960" & @CRLF)
FileWrite("metin2.cfg","BPP 16" & @CRLF)
Case "1280x1024 16bpp"
FileWrite("metin2.cfg","WIDTH 1280" & @CRLF)
FileWrite("metin2.cfg","HEIGHT 1024" & @CRLF)
FileWrite("metin2.cfg","BPP 32" & @CRLF)
EndSwitch
EndFunc
Func _SetFrequenz()
If GuiCtrlRead($ComboFrequenz) = "75" Then
FileWrite("metin2.cfg","FREQUENCY 75" & @CRLF)
Elseif GuiCtrlRead($ComboFrequenz) = "60" Then
FileWrite("metin2.cfg","FREQUENCY 60" & @CRLF)
EndIf
EndFunc
Func _SetCursor()
If GuiCtrlRead($CheckUseSoftwarecursor) = $GUI_Checked Then
FileWrite("metin2.cfg","SOFTWARE_CURSOR 1" & @CRLF)
Else
FileWrite("metin2.cfg","SOFTWARE_CURSOR 0" & @CRLF)
EndIf
EndFunc
Func _SetFog()
If GuiCtrlRead($ComboFOG) = "Near" Then
FileWrite("metin2.cfg","VISIBILITY 1" & @CRLF)
ElseIf GuiCtrlRead($ComboFOG) = "Mid" Then
FileWrite("metin2.cfg","VISIBILITY 2" & @CRLF)
ElseIf GuiCtrlRead($ComboFOG) = "Far" Then
FileWrite("metin2.cfg","VISIBILITY 3" & @CRLF)
EndIf
EndFunc
Func _SetTNL()
If GuiCtrlRead($ComboTNL) = "Auto" Then
FileWrite("metin2.cfg","SOFTWARE_TILING 0" & @CRLF)
Elseif GuiCtrlRead($ComboTNL) = "CPU" Then
FileWrite("metin2.cfg","SOFTWARE_TILING 1" & @CRLF)
Elseif GuiCtrlRead($ComboTNL) = "GPU" Then
FileWrite("metin2.cfg","SOFTWARE_TILING 2" & @CRLF)
EndIf
EndFunc
Func _SetSchatten()
If GuiCtrlRead($ComboSchatten) = "None" Then
FileWrite("metin2.cfg","SHADOW_LEVEL 0" & @CRLF)
ElseIf GuiCtrlRead($ComboSchatten) = "Background" Then
FileWrite("metin2.cfg","SHADOW_LEVEL 1" & @CRLF)
ElseIf GuiCtrlRead($ComboSchatten) = "Background+Player" Then
FileWrite("metin2.cfg","SHADOW_LEVEL 2" & @CRLF)
ElseIf GuiCtrlRead($ComboSchatten) = "All" Then
FileWrite("metin2.cfg","SHADOW_LEVEL 3" & @CRLF)
EndIf
EndFunc
Func _SetMusik()
FileWrite("metin2.cfg","MUSIC_VOLUME " & GuiCtrlRead($EditMusik) & @CRLF)
EndFunc
Func _SetSFX()
FileWrite("metin2.cfg","VOICE_VOLUME " & GuiCtrlRead($EditSFX) & @CRLF)
EndFunc
Func _SetGamma()
FileWrite("metin2.cfg","GAMMA " & GuictrlRead($ComboGamma) & @CRLF)
EndFunc
Func _SetWindowMode()
If GuiCtrlRead($RadioVollbildmodus) = $GUI_Checked Then
FileWrite("metin2.cfg","WINDOWED 0" & @CRLF)
Elseif GuiCtrlRead($RadioFenstermodus) = $GUI_Checked Then
FileWrite("metin2.cfg","WINDOWED 1" & @CRLF)
EndIf
EndFunc
Func _SetIMEMode()
If GuiCtrlRead($RadioGAMEIME) = $GUI_Checked Then
FileWrite("metin2.cfg","USE_DEFAULT_IME 0" & @CRLF)
Elseif GuiCtrlRead($RadioExternalIME) = $GUI_Checked Then
FileWrite("metin2.cfg","USE_DEFAULT_IME 1" & @CRLF)
EndIf
EndFunc
Údajný design
<?xml version="1.0" encoding="windows-1251"?>
<object type="TAForm" name="Form1_1">
<properties>
<property name="Left" vt="Int16">347</property>
<property name="Top" vt="Int16">409</property>
<property name="Width" vt="Int16">515</property>
<property name="Height" vt="Int16">346</property>
<property name="Caption" vt="String">Form1</property>
<property name="Color" vt="Ident">clBtnFace</property>
<property name="Font.Charset" vt="Ident">DEFAULT_CHARSET</property>
<property name="Font.Color" vt="Ident">clWindowText</property>
<property name="Font.Height" vt="Int8">-11</property>
<property name="Font.Name" vt="String">MS Sans Serif</property>
<property name="Font.Style" vt="Set"/>
<property name="OldCreateOrder" vt="False">False</property>
<property name="Visible" vt="True">True</property>
<property name="Style" vt="Int32">-1798701056</property>
<property name="ExStyle" vt="Int16">256</property>
<property name="Version" vt="String">1.04</property>
<property name="FormOptOnEvent" vt="False">False</property>
<property name="FormOptExpVars" vt="False">False</property>
<property name="FormOptPopulate" vt="False">False</property>
<property name="FormOptVarsForSet" vt="False">False</property>
<property name="FormOptIndentChar" vt="Int8">0</property>
<property name="FormOptIndentCount" vt="Int8">1</property>
<property name="FormOptIndentInit" vt="Int8">0</property>
<property name="FormOptVarScope" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
<property name="PixelsPerInch" vt="Int8">96</property>
<property name="TextHeight" vt="Int8">13</property>
</properties>
<components>
<object type="TAGroup" name="Group1">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">8</property>
<property name="Width" vt="Int16">225</property>
<property name="Height" vt="Int8">121</property>
<property name="CtrlStyle" vt="Int32">1342308359</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Caption" vt="String">Group1</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components>
<object type="TALabel" name="Auflosung">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">28</property>
<property name="Width" vt="Int8">51</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Auflosung</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo4">
<properties>
<property name="Left" vt="Int8">88</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">105</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="Text" vt="String">Combo4</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TALabel" name="Frequenz">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">60</property>
<property name="Width" vt="Int8">48</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Frequenz</property>
<property name="TabOrder" vt="Int8">2</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo5">
<properties>
<property name="Left" vt="Int8">88</property>
<property name="Top" vt="Int8">56</property>
<property name="Width" vt="Int8">105</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">3</property>
<property name="Text" vt="String">Combo5</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TALabel" name="Gamma">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">88</property>
<property name="Width" vt="Int8">40</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Gamma</property>
<property name="TabOrder" vt="Int8">4</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo6">
<properties>
<property name="Left" vt="Int8">88</property>
<property name="Top" vt="Int8">88</property>
<property name="Width" vt="Int8">105</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">5</property>
<property name="Text" vt="String">Combo6</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
<object type="TAGroup" name="Group2">
<properties>
<property name="Left" vt="Int16">256</property>
<property name="Top" vt="Int8">8</property>
<property name="Width" vt="Int16">233</property>
<property name="Height" vt="Int8">57</property>
<property name="CtrlStyle" vt="Int32">1342308359</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Caption" vt="String">Group2</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="Resizing" vt="Set"/>
</properties>
<components>
<object type="TARadio" name="Fenstermodus">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">89</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Fenstermodus</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="CtrlStyle" vt="Int32">1342242825</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TARadio" name="Vollbildmodus">
<properties>
<property name="Left" vt="Int8">112</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">97</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Vollbildmodus</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="CtrlStyle" vt="Int32">1342242825</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
<object type="TAGroup" name="Group3">
<properties>
<property name="Left" vt="Int16">256</property>
<property name="Top" vt="Int8">72</property>
<property name="Width" vt="Int16">233</property>
<property name="Height" vt="Int8">57</property>
<property name="CtrlStyle" vt="Int32">1342308359</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Caption" vt="String">Group3</property>
<property name="TabOrder" vt="Int8">2</property>
<property name="Resizing" vt="Set"/>
</properties>
<components>
<object type="TARadio" name="GAMEEIME">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">81</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">GAMEEIME</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="CtrlStyle" vt="Int32">1342242825</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TARadio" name="ExternalEIME">
<properties>
<property name="Left" vt="Int8">112</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">89</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">ExternalEIME</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="CtrlStyle" vt="Int32">1342242825</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
<object type="TAGroup" name="Group4">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int16">136</property>
<property name="Width" vt="Int16">225</property>
<property name="Height" vt="Int8">81</property>
<property name="CtrlStyle" vt="Int32">1342308359</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Caption" vt="String">Group4</property>
<property name="Font.Charset" vt="Ident">DEFAULT_CHARSET</property>
<property name="Font.Color" vt="Ident">clBlack</property>
<property name="Font.Height" vt="Int8">-11</property>
<property name="Font.Name" vt="String">MS Sans Serif</property>
<property name="Font.Style" vt="Set"/>
<property name="TabOrder" vt="Int8">3</property>
<property name="Resizing" vt="Set"/>
</properties>
<components>
<object type="TALabel" name="Musik">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">32</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Musik</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TALabel" name="SFX">
<properties>
<property name="Left" vt="Int8">16</property>
<property name="Top" vt="Int8">56</property>
<property name="Width" vt="Int8">24</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">SFX</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TAEdit" name="Edit1">
<properties>
<property name="Left" vt="Int8">72</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">17</property>
<property name="Height" vt="Int8">17</property>
<property name="Lines.Strings" vt="List">
<list>
<li vt="String">E</li>
<li vt="String">dit</li>
<li vt="String">1</li>
</list>
</property>
<property name="TabOrder" vt="Int8">2</property>
<property name="CtrlStyle" vt="Int32">1342377988</property>
<property name="CtrlExStyle" vt="Int16">512</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TAEdit" name="Edit2">
<properties>
<property name="Left" vt="Int8">72</property>
<property name="Top" vt="Int8">56</property>
<property name="Width" vt="Int8">17</property>
<property name="Height" vt="Int8">17</property>
<property name="Lines.Strings" vt="List">
<list>
<li vt="String">E</li>
<li vt="String">d</li>
<li vt="String">i</li>
<li vt="String">t</li>
<li vt="String">1</li>
</list>
</property>
<property name="TabOrder" vt="Int8">3</property>
<property name="CtrlStyle" vt="Int32">1342377988</property>
<property name="CtrlExStyle" vt="Int16">512</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TASlider" name="Slider1">
<properties>
<property name="Left" vt="Int8">104</property>
<property name="Top" vt="Int8">16</property>
<property name="Width" vt="Int8">102</property>
<property name="Height" vt="Int8">29</property>
<property name="Max" vt="Int8">100</property>
<property name="TabOrder" vt="Int8">4</property>
<property name="ThumbLength" vt="Int8">22</property>
<property name="CtrlStyle" vt="Int32">1342308377</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockWidth, DockHeight</property>
</properties>
<components/>
</object>
<object type="TASlider" name="Slider2">
<properties>
<property name="Left" vt="Int8">105</property>
<property name="Top" vt="Int8">49</property>
<property name="Width" vt="Int8">102</property>
<property name="Height" vt="Int8">29</property>
<property name="Max" vt="Int8">100</property>
<property name="TabOrder" vt="Int8">5</property>
<property name="ThumbLength" vt="Int8">22</property>
<property name="CtrlStyle" vt="Int32">1342308377</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockWidth, DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
<object type="TAGroup" name="Group5">
<properties>
<property name="Left" vt="Int16">256</property>
<property name="Top" vt="Int16">136</property>
<property name="Width" vt="Int16">233</property>
<property name="Height" vt="Int16">129</property>
<property name="CtrlStyle" vt="Int32">1342308359</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Caption" vt="String">Group5</property>
<property name="TabOrder" vt="Int8">4</property>
<property name="Resizing" vt="Set"/>
</properties>
<components>
<object type="TALabel" name="FOG">
<properties>
<property name="Left" vt="Int8">8</property>
<property name="Top" vt="Int8">24</property>
<property name="Width" vt="Int8">26</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">FOG</property>
<property name="TabOrder" vt="Int8">0</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo1">
<properties>
<property name="Left" vt="Int16">128</property>
<property name="Top" vt="Int8">20</property>
<property name="Width" vt="Int8">89</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">1</property>
<property name="Text" vt="String">Combo1</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TALabel" name="TNL">
<properties>
<property name="Left" vt="Int8">8</property>
<property name="Top" vt="Int8">60</property>
<property name="Width" vt="Int8">25</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">TNL</property>
<property name="TabOrder" vt="Int8">2</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo2">
<properties>
<property name="Left" vt="Int16">128</property>
<property name="Top" vt="Int8">56</property>
<property name="Width" vt="Int8">89</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">3</property>
<property name="Text" vt="String">Combo2</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TALabel" name="Schatten">
<properties>
<property name="Left" vt="Int8">8</property>
<property name="Top" vt="Int8">100</property>
<property name="Width" vt="Int8">47</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">Schatten</property>
<property name="TabOrder" vt="Int8">4</property>
<property name="HaveVariable" vt="False">False</property>
<property name="CtrlStyle" vt="Int32">1342308608</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set"/>
</properties>
<components/>
</object>
<object type="TACombo" name="Combo3">
<properties>
<property name="Left" vt="Int16">128</property>
<property name="Top" vt="Int8">96</property>
<property name="Width" vt="Int8">89</property>
<property name="Height" vt="Int8">25</property>
<property name="ItemHeight" vt="Int8">13</property>
<property name="TabOrder" vt="Int8">5</property>
<property name="Text" vt="String">Combo3</property>
<property name="CtrlStyle" vt="Int32">1342374466</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
<object type="TACheckbox" name="UseSoftwarecursor">
<properties>
<property name="Left" vt="Int8">32</property>
<property name="Top" vt="Int16">232</property>
<property name="Width" vt="Int16">137</property>
<property name="Height" vt="Int8">17</property>
<property name="Caption" vt="String">UseSoftwarecursor</property>
<property name="TabOrder" vt="Int8">5</property>
<property name="CtrlStyle" vt="Int32">1342242819</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockHeight</property>
</properties>
<components/>
</object>
<object type="TAButton" name="Ubernehmen">
<properties>
<property name="Left" vt="Int16">152</property>
<property name="Top" vt="Int16">272</property>
<property name="Width" vt="Int8">83</property>
<property name="Height" vt="Int8">25</property>
<property name="Caption" vt="String">Ubernehmen</property>
<property name="TabOrder" vt="Int8">6</property>
<property name="Color" vt="Ident">clBtnFace</property>
<property name="CtrlStyle" vt="Int32">1342373888</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockWidth, DockHeight</property>
</properties>
<components/>
</object>
<object type="TAButton" name="Abbrechen">
<properties>
<property name="Left" vt="Int16">256</property>
<property name="Top" vt="Int16">272</property>
<property name="Width" vt="Int8">75</property>
<property name="Height" vt="Int8">25</property>
<property name="Caption" vt="String">Abbrechen</property>
<property name="TabOrder" vt="Int8">7</property>
<property name="Color" vt="Ident">clBtnFace</property>
<property name="CtrlStyle" vt="Int32">1342373888</property>
<property name="CtrlExStyle" vt="Int8">0</property>
<property name="Resizing" vt="Set">DockWidth, DockHeight</property>
</properties>
<components/>
</object>
</components>
</object>
Snad mě moc nezprdnete
Ahoj.Mam problem s jednim programkem ve visual c#.Jde o to,ze kdyz najedu na button tak chci ,aby se nejak zmenil.Chtel bych to udelat tak,ze po kliknuti a po najeti na button se zmeni jeho pozadi.Je to WPF a zkousel jsem ruzne ismouseover,ap. ,ale neslo mi to.Nemuzete mi nekdo poradit?Dekuju