Jump to content

Search the Community

Showing results for tags 'ListViewItem'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello, Please look at this GUI: #include-once ; -- Created with ISN Form Studio 2 for ISN AutoIt Studio -- ; #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <GuiButton.au3> #include <GuiListView.au3> Global $test = GUICreate("test",283,120,-1,-1,-1,-1) GUISetBkColor(0xFFFFFF,$test) $hListMyList = GUICtrlCreatelistview("My List",7,4,269,65,-1,512) $hButtonAlwaysEnabled = GUICtrlCreateButton("Always Enabled",20,80,100,30,-1,-1) $hButtonEnabled = GUICtrlCreateButton("Enabled",160,80,100,30,-1,-1) $hListViewItemMyItem = GUICtrlCreateListViewItem("My List Item", $hListMyList) GUISetState() While True $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd I want $hButtonEnabled disabled when a ListViewItem is not selected. I tried inserting a custom function in the while loop but it didn't work that well (button was flickering & high memory usage) I think its not possible to do in AutoIt AutoIt is awsome! If you know to do such thing, please post it here , TD P.S Will be greatly appreciated cause its impossible for me to do
×
×
  • Create New...