Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Help with ReadOnly fields

$
0
0

Hi all, can anyone help plz...
What command can I use to make a ReadOnly field editable?

AutoIt         
#include <Misc.au3> #include <GUIConstants.au3> #include <EditConstants.au3> #include <WindowsConstants.au3> _Singleton(@ScriptName) $gui_main = GUICreate("Temp", 400, 250) GUISetBkColor(0xEEEEFF) $font = "Century Gothic" GUISetFont(10, 400, 0, $font) $edit = GUICtrlCreateEdit("", 10, 10, 380, 180, BitOR($ES_WANTRETURN, $ES_READONLY, $WS_VSCROLL)) $edit_yes = GUICtrlCreateButton("Edit", 10, 200, 70, 20) GUICtrlSetFont(-1, 8, 400, 0, $font) $edit_no = GUICtrlCreateButton("Read Only", 83, 200, 70, 20) GUICtrlSetFont(-1, 8, 400, 0, $font) $exit = GUICtrlCreateButton("Exit", 320, 200, 70, 35) GUISetState() Do     $nMsg = GUIGetMsg()     Select         Case $nMsg = $GUI_EVENT_CLOSE Or $nMsg = $exit             GUIDelete($gui_main)         Case $nMsg = $edit_yes             ;?????????????         Case $nMsg = $edit_no             ;?????????????     EndSelect Until Not WinExists($gui_main)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>