Jump to content
Sign in to follow this  
cppman

How do u delete data from a control

Recommended Posts

cppman

Okay, i have a question about deleting data from a control. like you can use GUICtrlSetData($ctrl, $data)

is their anyway to delete data?

how would I delete the selected data from a control.

When u use GUICtrlRead($Control) and that control is a list, it will return the data that is selected. Im trying to remove the data that is selected... any way to do that?

Share this post


Link to post
Share on other sites
GaryFrost

you can either do it the hard way, guictrlsetdata, less the item selected or

look at the UDF's in the beta there is a GuiList Management, with-in that there is _GUICtrlListDeleteItem


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
cppman

thanks. ur always answering my questions lol. yeah, i was thinking that GuiCtrlSetData was not the way i had to go. cuz i need to do that with alot of controls. thanks again!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×