momar33 Posted July 20, 2007 Posted July 20, 2007 (edited) In the following pic, is there a way to remove "Select Spellbook" from the drop down list? I want the first "Select Spellbook" to stay though. Edited July 23, 2007 by momar33
martin Posted July 20, 2007 Posted July 20, 2007 In the following pic, is there a way to remove "Select Spellbook" from the drop down list? I the first "Select Spellbook" to stay though.Assuming you have an ID for the menu item then just use GuiCtrlDelete Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Danny35d Posted July 20, 2007 Posted July 20, 2007 Use _GUICtrlComboDeleteString(). Don't forget you need to include GUICombo.au3Example#include <GUIConstants.au3> #Include <GuiCombo.au3> $Form1 = GUICreate("Spell inve....", 255, 289, -1, -1) $Button1 = GUICtrlCreateButton("Close", 88, 232, 75, 25, 0) $Combo1 = GUICtrlCreateCombo("Select Spellbook", 2, 2, 145, 25) _GUICtrlComboDeleteString (-1, 0) GUICtrlSetData(-1, "Malachai|test|Zoltan") $MenuItem1 = GUICtrlCreateMenu("Files") $MenuItem2 = GUICtrlCreateMenu("Tools") $MenuItem3 = GUICtrlCreateMenu("Windows") $MenuItem4 = GUICtrlCreateMenu("About") GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE, $Button1 Exit EndSwitch WEnd AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line
momar33 Posted July 23, 2007 Author Posted July 23, 2007 (edited) Thanks Edited July 23, 2007 by momar33
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