Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What is the last letter in the word "SlickEdit":
How many LETTERS are in the following? "a1b2c3":
Which number is missing?  "12345689":

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Dan
« on: November 23, 2021, 08:39:29 PM »

That's great, I'm sorry I didn't think of that.
Posted by: msCoder
« on: November 23, 2021, 08:22:58 PM »


Thank you again for the help. By using the callback functionality of _TreeLoadDataXML() & _TreeSaveDataXML(), I was able to add XML attributes to each node in the XML file, saving the checkbox state. When my 'load' callback is called I fetch the attribute and then call _TreeSetCheckState()

Seems to do the trick.
Posted by: Dan
« on: November 19, 2021, 04:32:24 PM »

It is possible it doesn't save and restores checkboxes, I will take a look at it later.  I may be able to add it.
Posted by: msCoder
« on: November 19, 2021, 04:26:36 PM »

Thank you for the quick response. I have given it a try - copying what I found in svcurl.e (which uses that function).

Partially works. My tree_view contains 5 columns. The first three are check-box columns, and the last two are text-columns.
The effect I am getting is that only the last two text-columns are getting restored. The first three columns do NOT show me a check-box??

Will keep trying...
Posted by: Dan
« on: November 19, 2021, 02:35:18 PM »

Take a look at _TreeSaveDataXML and _TreeLoadDataXML.  I will try to put together a sample later today.
Posted by: msCoder
« on: November 19, 2021, 01:35:38 PM »

I am developing a custom form which has a tree_view control in it. I would like to be able to save the tree_view elements when I quit SlickEdit and then be able to restore them the next time SlickEdit is started. Can anybody give me some guidance on how to do this?

Thanks,
Mark  ???