Suggest for add new image dynamically in controls, with new methods.

Started by stephan_35, September 07, 2009, 06:00:26 AM

Previous topic - Next topic

stephan_35

Hello Owen,

Could it be possible to add 3 new method about image for some controls.(TreeControl, for example)

My problem is i would like to know it it's possible to add more image dynamically in treecontrol

Why ?

Maybe this could open more functionnality to develop what we want.

Example, i would like to let the user set himself image in a treecontrol, like cutomise my tree.

How ?

With 3 new methods :

First, add image in the image List.
Two, Delete image in the image List.
Thirs, change an image in the image List.

This functionnality could not be definitly write in odcl file (i think), that is for developper to set himself the lisp for reload the last definition set by user.

Something like :
Code (autolisp) Select

(dcl_Tree_AddItemImages Project_Pal1_Tree1 ImagePath [as Full PAth] )
; return new image index or nil if failed !!!


Great idea ? no ?

Thanks
Best regards.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

That's a good idea.  The functions should work directly with the image list so that they work with any control that uses an image list.
Owen Wengerd (Outside The Box) / ManuSoft

stephan_35

Quote from: owenwengerd on September 07, 2009, 06:52:11 AM
That's a good idea.  The functions should work directly with the image list so that they work with any control that uses an image list.

Very pleased to read this !  :D

Mean TreeControl, ImagesCombo, TabStrip and Grid .

But maybe lot of time to spend before getting something work ?

Thanks,

Best regards.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

stephan_35

Hi,

I wonder if this new feature might interest many people?

From my side, obviously I found of particular interest:
Allowing users to customize their own icons in applications developer authorizes it to do (always in relation to my treeview)

Thank you for keeping me informed on the importance of this project, validation, and its future implementation.

Best regards, Stéphan.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on December 16, 2009, 06:38:21 AM
Have you added this to the feature request list?

Oops, I can't remember if i 've done it  :(

I remember a trouble with sourceforge identification , maybe i gave up ...  :(

I'll try again.

Best regards.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

stephan_35

OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

Note that the (dcl-ImageList-SetAt) function has since been added, so this functionality is now available in OpenDCL 8.
Owen Wengerd (Outside The Box) / ManuSoft